This blog uses hugo to generate a static website from markdown files.
Refer to hugo documentation for full detail.
If you are here for the translation bounty program and need help submitting a translation, follow this guide (pdf):
Skycoin Blog Github Translation Instructions
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://www.skycoin.net/blog/ will automatically update in a few minutes.
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
.
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