Skip to content
This repository has been archived by the owner on Apr 23, 2022. It is now read-only.

Latest commit

 

History

History
43 lines (30 loc) · 909 Bytes

README.md

File metadata and controls

43 lines (30 loc) · 909 Bytes

hugo-mod-bulma

Bulma packaged as a Hugo Module (Hugo Modules).

Usage

config/_default/config.yaml

module:
  imports:
    - path: github.com/peaceiris/hugo-mod-bulma

assets/bulma.scss

@import "mod/bulma/utilities/_all.sass";
@import "mod/bulma/base/_all.sass";

In a Hugo template file.

<head>
  <style>
    {{ $bulmaCSS := resources.Get "bulma.scss" | toCSS | minify }}
    {{ $bulmaCSS.Content | safeCSS }}
  </style>
</head>

Releases

peaceiris/hugo-mod-bulma jgthms/bulma
v0.2.0 0.9.2
v0.1.2 0.9.1