You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When folks are creating blog posts, they are likely not adding all of the frontmatter content. One of the things that is commonly not added is the layout tag.
THIS IS A PROBLEM
When generating the page for testing - the site applies the default tag of article and not post. This works and the site looks mostly the same but it's missing much of the components needed to make the site load properly.
with layout defined.
<!doctype html><htmllang="en"><head><metacharset="UTF-8" /><metaname="viewport" content="width=device-width, initial-scale=1" /><metaname="description"
content="Discover the inspiring stories of Uganda's next generation African Python developers who attended PyconUG 2024 and learn about their experiences in a vibrant tech community."
/><title>Black Python Devs | Black Python Devs at PyconUG 2024</title><linkrel="stylesheet" href="/assets/css/style.css" /><linkrel="stylesheet" href="/assets/css/pico.min.css" /><linkrel="stylesheet" href="/assets/css/pico.colors.min.css" /><linkrel="stylesheet" href="/assets/css/bpd.css" /><linkrel="canonical"
href="http://localhost:56178/2024-10-25-pycon-ug-2024/"
/><linkrel="alternate"
type="application/rss+xml"
title="Black Python Devs"
href="http://localhost:56178/feed.xml"
/><linkrel="icon"
href="https://fav.farm/%E2%9C%8A%F0%9F%8F%BE"
type="image/svg"
/></head></html>
without it (it goes straight to the content)
<p>Wednesday, 9th, October, 2024, was Uganda’s Independence day.</p>
I'm not sure why this is the case but the fix is an easy one.
**ensure that layout: post is on all of the blog posts.
I will fix this in an upcoming PR to get tests passing but there should be a pre-commit rule to fix this.
The text was updated successfully, but these errors were encountered:
When folks are creating blog posts, they are likely not adding all of the frontmatter content. One of the things that is commonly not added is the
layout
tag.THIS IS A PROBLEM
When generating the page for testing - the site applies the default tag of
article
and notpost
. This works and the site looks mostly the same but it's missing much of the components needed to make the site load properly.with
layout
defined.without it (it goes straight to the content)
I'm not sure why this is the case but the fix is an easy one.
**ensure that
layout: post
is on all of the blog posts.I will fix this in an upcoming PR to get tests passing but there should be a pre-commit rule to fix this.
The text was updated successfully, but these errors were encountered: