Bump postcss from 8.4.5 to 8.4.31 (#118)
Bumps postcss from 8.4.5 to 8.4.31.
updated-dependencies:
- dependency-name: postcss dependency-type: indirect …
Signed-off-by: dependabot[bot] support@github.com Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Ghostwriter
Enhanced port of the Ghost “ghostwriter“ theme to the Hugo site generator.
Installation
Inside the folder of your Hugo site run:
For more information read the official setup guide of Hugo.
Development
After installing the theme you need to install javascript dependencies. You can use
npmto install them frompackage.json. We are usingwebpackto build and package styles. In order to develop with realtime reloading in the browser you can use this powerful combo:To update theme styles edit the
styles/style.scssfile. You can then either use thewatchcommand or runbuildto compile the styles:Example config.yml
To customize your theme you can use following params:
You can also inject arbitrary HTML into
<head>simply by overriding theextra-in-head.htmlpartial, which is meant for that purpose.