Skip to content

Nial25/blog

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Skycoin Blog

https://blog.skycoin.net/

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 serve

Make sure that your posts compile without error. Check the formatting.

Then, commit the changes and push.

If there are no problems, then https://blog.skycoin.net/ will automatically update in a few minutes.

Translations

https://gohugo.io/content-management/multilingual/

If the language is not currently supported by the blog, add a language config statement to config.toml (see the file for an example).

The blog posts are in a subdirectory in content/. To add a translation of an existing post, change the extension from .md to .$LANG.md.

For example, to add a German translation of content/statement/Skycoin Distribution.md, name the file content/statement/Skycoin Distribution.de.md.

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

Releases

No releases published

Packages

No packages published

Languages

  • CSS 73.7%
  • HTML 25.6%
  • JavaScript 0.7%