Magnet Docs v1.1.4 archive about feed docs
Monday, October 30, 2023 by Susan Essay tags: • posts

New Posts

Try adding a file named “newest.md” to the “posts” directory that looks like this:

---
title: "This Is The Newest Entry"
tags: test
---

This is a new entry in _Markdown_.

Stop and restart the “go-magnet show” command, you should see the new post at the top since there was no “Publish” set in the markdown. It uses the file creation date in that case. You can set “Publish” to whatever date you want as long as it fits the “Y-m-d H:m:s” format.