juxt / astro-website Goto Github PK
View Code? Open in Web Editor NEWSource for the main JUXT website
Home Page: https://juxt.pro
Source for the main JUXT website
Home Page: https://juxt.pro
If you set the dark theme in Firefox, on the homepage/services/about there are still sections where the background is white.
There was a question about whether there was an RSS feed available but it seems we never added/enabled it to this astro setup.
We definitely had it setup at some point previously, to syndicate with Planet Clojure:
https://github.com/ghoseb/planet.clojure/blob/fe269a2c09c0d4d554ff58d4eae2a4bf4bc06a75/clojure/config.ini#L3417-L3420
In case its helpful to refer to, we configured a blog feed for the xtdb.com site (also using astro) with astrojs/rss
in this commit (presumably just following the official docs https://docs.astro.build/en/guides/rss/) - let me know if someone wants access to that org/repo but essentially the commit is just...
Creating src/pages/blog.xml.js
:
import rss from '@astrojs/rss';
import { getCollection } from 'astro:content';
export async function get(context) {
const blog = await getCollection('blog');
return rss({
title: 'XTDB Blog',
description: 'Engineering insights and development updates',
site: context.site,
items: blog.map((post) => ({
title: post.data.title,
pubDate: post.data.date,
description: post.data.summary,
link: `/blog/${post.slug}`,
})),
trailingSlash: false,
customData: "<author><name>JUXT Ltd</name><email>[email protected]</email></author>"
});
}
Updating src/layouts/main.astro
with:
<link rel="alternate" type="application/rss+xml" href="/blog.xml" title="XTDB Blog">
Updating export default defineConfig({
in astro.config.mjs
to include:
site: 'https://xtdb.com'
And adding "@astrojs/rss": "^2.3.2"
to the package.json.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.