Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/growdigital/indiego
Socially aware Hugo blog boilerplate, with modular CSS
https://github.com/growdigital/indiego
bem bem-methodology facebook google-plus gulp hugo hugo-blog hugo-boilerplate hugo-theme indieweb microformats modular-css opengraph posse schema-org social twitter
Last synced: 3 months ago
JSON representation
Socially aware Hugo blog boilerplate, with modular CSS
- Host: GitHub
- URL: https://github.com/growdigital/indiego
- Owner: growdigital
- License: other
- Created: 2018-02-02T15:27:35.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-02T10:34:16.000Z (about 2 years ago)
- Last Synced: 2024-08-01T12:26:57.316Z (6 months ago)
- Topics: bem, bem-methodology, facebook, google-plus, gulp, hugo, hugo-blog, hugo-boilerplate, hugo-theme, indieweb, microformats, modular-css, opengraph, posse, schema-org, social, twitter
- Language: HTML
- Homepage: https://www.indiego.grwd.uk/
- Size: 1.54 MB
- Stars: 9
- Watchers: 3
- Forks: 3
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - growdigital/indiego - Socially aware Hugo blog boilerplate, with modular CSS (twitter)
README
# Indiego
**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
![Indiego logo](themes/go/static/assets/img/logo.png)
βI just didn't add anything to make it slow.β
Taking inspiration from [Phil Hawksworth](https://mobile.twitter.com/philhawksworth/status/1038440732741259265)### Version: 0.1.8
## Requires
* [Git](https://git-scm.com/)
* [Node & npm](https://nodejs.org/en/)
* Basic understanding of [the command line](https://en.wikipedia.org/wiki/Command-line_interface)## To get started
[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/growdigital/indiego)
1. Click the big button above
2. In a terminal, `git clone` your new repository to your local machine
3. Add your details to [`config.yml`](https://github.com/growdigital/indiego/blob/master/config.yml)
4. Change directory, run `hugo serve`
5. In new terminal, cd `themes/go/`
6. Run `npm install`
7. Run `gulp`. A [Browserync](https://www.browsersync.io/) window should open.
8. Add content. Design your theme. The world is your oyster πFull Hugo documentation at [gohugo.io](https://gohugo.io/) and Indiego documenation at [indiego.grwd.uk](https://indiego.grwd.uk/)
## To add content
* 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 ``, they donβt really have a title as such
* To create a new page, pop a Markdown file in the `content` directory. Use the `about.md` page to crib the [Frontmatter](https://gohugo.io/content-management/front-matter#readout)Full documentation is on the [Hugo website](https://gohugo.io/content-management/).
## To edit the theme
* The Indiego theme is called **go**. As you can see, it is incredibly minimal.
* The organisation is based on [ITCSS](https://www.indiego.org.uk/modular/#2-css-organisation) (Inverted Triangle CSS). All CSS, JavaScript and images are organised by modules in the `go/src` directory, from general to specific:
1. Variables
2. Base CSS
3. Objects (site wide patterns)
4. Components
5. Utilities (trumping !important)
6. Shameful
* A simple [Gulp](https://gulpjs.com/) taskrunner concatenates the individual modules into `app.css`, `app.js` and `assets` in the `go/static` directory. These are then copied to `public` when you run `hugo 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 and `hugo serve` in another to preview changes automatically.## To publish changes
* If you originally used the [Deploy to Netlify](https://app.netlify.com/start/deploy?repository=https://github.com/growdigital/indiego) button, then every time you `git push`, your website will be automatically deployed. Magic π
[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/growdigital/indiego)