Metamodel.blog is a social-media-aware static blog implemented using open-source Hugo with Blist theme + Remark42 for comments.
This repository contains the customizations and enhancements made to the original code.
Additional Hugo Front Matter variables
-
Tweetid: numeric id of Tweet announcing the post. If this is present, Twitter sharing link will default to liking the tweet and replies to the tweet will be embedded in the comments section
-
Comments: true or false. If true, commenting (using Remark42) is enabled
-
Unlisted: true or false. If true, this post will not be listed when deployed. It can still be accessed using its URL for testing and sharing privately.
-
Unnumbered: true or false. If true, this page will not be numbered as a section by Pandoc.
-
Featured: true or false. If true, this post will be listed in the Featured Posts section, below
the Recent posts section, on the home page -
Thumbnail: URL for image to be displayed above article title
-
Card: URL for Twitter/OpenGraph image for sharing on social media (2:1 aspect ratio preferred)
-
introPosts = number of articles displayed in Recent posts section of the home page
-
listPosts = number of posts displayed per page under All Posts
-
futurePosts = true or false. If ture, display future.html listing comming attractions
-
Use ° for degree symbol
-
Use double space at end of line to force linebreak
-
Use  to insert images to be Pandoc friendly
-
Set Summary: to descriptive string if first paragraph is not suitable for use as a summary for the RSS feed
#install hugo
#install node
hugo new site metablog
cd metablog
cp themes/blist/package.json .
sudo npm install
sudo npm i -g postcss-cli
sudo npm install tailwindcss
# Copy exampleSite and test it
cd themes/blist/exampleSite/ hugo serve --themesDir ../..
cd ../../..
cp themes/blist/package-lock.json . cp themes/blist/exampleSite/config.toml .
# EDIT top line of config.toml to set theme = 'blist'
cp themes/blist/exampleSite/static/* static
cp -r themes/blist/exampleSite/content/* content
hugo server -D # http://localhost:1313/
# Copy (or symlink) all directories in hugoSite to this directory
Licensed under MIT