···594594 return
595595 }
596596597597+ if f.opt.Development {
598598+ return
599599+ }
600600+597601 blog, err := f.LoadProtoFeed()
598602 if err != nil {
599603 slog.Error("failed to load proto feed", "err", err)
+3-3
lume/_config.ts
···99import postcss from "lume/plugins/postcss.ts";
1010import sitemap from "lume/plugins/sitemap.ts";
1111import readInfo from "lume/plugins/reading_info.ts";
1212-import feed from "lume/plugins/feed.ts";
13121413import annotateYear from "./plugins/annotate_year.ts";
1414+import feed from "./plugins/feed.ts";
15151616//import pagefind from "lume/plugins/pagefind.ts";
1717//import _ from "npm:@pagefind/linux-x64";
···8383 items: {
8484 title: "=title",
8585 description: "=desc",
8686- image: (data) => {
8686+ /*image: (data) => {
8787 if (data.hero && data.hero.file) {
8888 return `https://cdn.xeiaso.net/file/christine-static/hero/${data.hero.file}.jpg`;
8989 }
···9393 }
94949595 return undefined;
9696- },
9696+ },*/
9797 },
9898}));
9999site.use(mdx({
+19-21
lume/src/events.jsx
···55export const date = "2012-12-31";
66export const desc = "A list of the upcoming events that I plan to attend and what I'll do there.";
7788-export default ({ events }) => {
99- if (events.events === undefined) {
1010- return (
1111- <>
1212- <h1 className="text-3xl mb-4">Events</h1>
1313- <p>
1414- I don't have any events planned right now or my events API is down. Check back later!
1515- </p>
1616- </>
1717- );
1818- }
1919-2020- return (
2121- <>
2222- <h1 className="text-3xl mb-4">Events</h1>
2323-2424- <p className="my-4">Where in the world is Xe Iaso?</p>
2525-88+export default ({ events }) => (
99+ <>
1010+ <h1 className="text-3xl mb-4">Events</h1>
1111+ <p className="my-4">Where in the world is Xe Iaso?</p>
1212+ {events.events === undefined ? (
1313+ <p className="my-4">
1414+ I don't have any events planned right now or my events API is down. Check back later or <a href="/contact">let me know</a> if you see this message in error!
1515+ </p>
1616+ ) : (
2617 <div class="grid grid-cols-1 md:grid-cols-2 gap-4">
2718 {events.events.map((event) => EventCard(event))}
2819 </div>
2929- </>
3030- );
3131-}2020+ )}
2121+2222+ <div className="my-4 prose">
2323+ <p>
2424+ If you'd like me to speak at an event, please <a href="/contact">contact me</a>! I'm always looking for new opportunities to share my knowledge and experiences. I'm also available for interviews, podcasts, and other media appearances.
2525+ </p>
2626+ <p>Please note that all conferences and meetups I attend require a publicly posted code of conduct.</p>
2727+ </div>
2828+ </>
2929+);