pixelgeek Posted June 27, 2023 Share Posted June 27, 2023 (edited) I have posted a new version of my Hugo SSG Workflow. Hugo is a Static Site Generator written in Go that you can use to set up a static HTML website or blog. The Hugo Workflow has several commands that you can use to make it easier to create and edit content as well as start and stop the integrated web server included in Hugo so you can preview your site and content. The Workflow is available at: https://codeberg.org/lolbat/Alfred-Hugo and is also mirrored at https://github.com/lolbat/Alfred-Hugo-Workflow The Workflow currently has seven different commands built into it. 1. Add: Add a new file 2. Edit: Edit an existing file 3. Start: Start the Hugo server 4. Start - drafts: Start the Hugo server with --buildDrafts enabled 5. Stop: Stop the Hugo server 6. Date: Get a date in the Go format to use in the YAML frontmatter of content. 7. Drafts: List all of the content that are still Drafts If you have seen this Workflow previously the changes in the current version are: v1.0 The feature complete version. With bonus Drafts command. . Changes * Added Drafts command to show any content that is still marked as a Draft post. * Fixed Edit command to run correctly. * Actually fixed the Start Server command. * Rewrote the Edit python code to use the Paths library. * Added requirement to have the python-frontmatter library loaded. Needed to read the YAML frontmatter from the files for the Draft command. If you do try it out let me know if there are any changes you'd like or additions. Edit: Just realised I will need to retake all of those screenshots. Edited June 28, 2023 by pixelgeek Added comment Link to comment
pixelgeek Posted June 28, 2023 Author Share Posted June 28, 2023 If anyone is interested, I posted a few comments about the update on my blog https://whatiswrongwithyourdog.netlify.app/posts/hugoupdate/ Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now