Not under active development. I do want to ditch gulp & use Hugo Pipelines to simplify process. If someone else wants to have a go, please do!
Socially aware Hugo blog starter kit, with modular CSS gulp.js workflow
“I just didn't add anything to make it slow.”
Taking inspiration from Phil Hawksworth
- Git
- Node & npm
- Basic understanding of the command line
- Click the big button above
- In a terminal,
git clone
your new repository to your local machine - Add your details to
config.yml
- Change directory, run
hugo serve
- In new terminal, cd
themes/go/
- Run
npm install
- Run
gulp
. A Browserync window should open. - Add content. Design your theme. The world is your oyster 🐚
Full Hugo documentation at gohugo.io and Indiego documenation at indiego.grwd.uk
- To create new blog post, from command line in top level directory, run
hugo new blog/your-blog-post-name.md
- To create new status post, run
hugo new status/yourstatuspostname.md
- So that I can search status posts by date, I add a 6-digit datestamp eg
180803-shorttitle
- Status posts use the date as the
<h1>
, they don’t really have a title as such
- So that I can search status posts by date, I add a 6-digit datestamp eg
- To create a new page, pop a Markdown file in the
content
directory. Use theabout.md
page to crib the Frontmatter
Full documentation is on the Hugo website.
- The Indiego theme is called go. As you can see, it is incredibly minimal.
- The organisation is based on ITCSS (Inverted Triangle CSS). All CSS, JavaScript and images are organised by modules in the
go/src
directory, from general to specific:- Variables
- Base CSS
- Objects (site wide patterns)
- Components
- Utilities (trumping !important)
- Shameful
- A simple Gulp taskrunner concatenates the individual modules into
app.css
,app.js
andassets
in thego/static
directory. These are then copied topublic
when you runhugo serve
- Set your own base settings in
go/src/assets/css/settings
- Create your own modules in
go/src/modules
- Keep
gulp
running in one terminal andhugo serve
in another to preview changes automatically.
- If you originally used the Deploy to Netlify button, then every time you
git push
, your website will be automatically deployed. Magic 🙂