Skip to content
This repository has been archived by the owner on Aug 7, 2018. It is now read-only.

kittycash/blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KittyCash Blog

https://www.kittycash.com/blog

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://www.kittycash.com/blog 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/Cat Drawings.md, name the file content/statement/Cat Drawings.de.md.

Themes: Layout and Styling

KittyCash 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/kittycash/

Install the dependencies such as node-sass

  yarn
  # or
  npm install

Compile and build the SCSS

  yarn build:css

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published