Found a mistake? Please contact me.
-
⌘ Link: Cross-posting parameters in front matter
Cross-posting in front matter:
When Micro.blog copies posts to other services via cross-posting, it records some information such as the external service username and post ID. These parameters are available in the Hugo front matter so they can be accessed from themes.
See the full list at the link.
-
⌘ Link: Tiny Theme supports Fathom Analytics
Tiny Theme now supports Fathom Analytics (discount through link) with a new plugin. As a bonus, signing up through that link supports further development of the theme.
-
⌘ Link: Special Content pages
Over on the Help site Todd asked about creating special collection pages:
I’d like to create special collection pages that do the following.
- Let me create a custom section of content at the top. (think: intro, description, maybe some links or disclaimers)
- Automated collection of posts with a certain tag. Preferably with options for me on how to display (alphabetical, chronoligical, reverse-chronological, etc.)
There's a detailed answer that begins:
My favorite way to do this is to make a custom layout like:
layouts/thepagename/list.html
Then I put my template there
-
⌘ Hide some pages from search engines
This Help document Search engine indexing explains where to find the
robots.txt
file so you can ask search engines not to index certain pages. -
⌘ Link: Easy Category Pages in Navigation on Micro.Blog
Bob Wertz wrote a How To called Easy Category Pages in Navigation on Micro.Blog:
It shouldn’t matter what theme you are using, but for my site, I use the Pure plug in, which is a good foundation to build from. By default, the template presents a home page that includes all of your posts. Instead, I wanted to have different links in my navigation for my longer “blog” posts and my shorter “tweet-like” status posts.
Read the details at his site.
-
⌘ Link: Change the date format in Alpine Theme
Change the date format in Alpine Theme miraz.me
-
⌘ Link: Custom Theme Tips
Greg Moore has written a handy Custom Theme Tips page:
Making a custom theme for your Micro.blog isn’t as impossible as it may first seem. Be kind to yourself, work in small chunks, and prioritize needs over novelties. It’s your custom theme so you can always add more shiny new things later.