aaronvanston / blog

Skycoin Blog

Repository from Github https://github.comaaronvanston/blogRepository from Github https://github.comaaronvanston/blog

Skycoin Blog

http://blog.skycoin.net/blog

Hosted on github pages.

This blog uses hugo to generate a static website from markdown files.

Refer to hugo documentation for full detail.

Content: Create or Amend Posts

Look in the content/ folder. Posts are written in markdown.

Locally, the blog can be previewed with:

hugo server

Once ready to publish, build the static files:

hugo

This will write static files to docs/.

Then, commit the changes and push.

Themes: Layout and Styling

Skycoin Blog uses a custom hugo theme with styling produced using SCSS, when editing any styles you must edit the .scss files only. If any changes are made to the SCSS partials within static/css/scss/, you must re-compile with the following commands.

Move into the theme directory

  cd themes/skycoin/

Install the dependencies such as node-sass

  yarn
  # or
  npm install

Compile and build the SCSS

  yarn build:css

About

Skycoin Blog


Languages

Language:CSS 81.2%Language:HTML 18.0%Language:JavaScript 0.8%