pulsar-language-hugo Made for Pulsar!

Support for Go Templates as used by Hugo

savetheclocktower

8

0

0.1.2

MIT

GitHub

language-hugo package

Adds a grammar for the Go Templating system used by Hugo.

Using this grammar for .html files

Hugo gives template files the .html extension. To have Pulsar prefer this grammar over the built-in HTML grammar for .html files, follow these instructions. Your config should look like this:

'*':
  core:
    customFileTypes:
      'text.html.gotmpl': [
        'html'
      ]

If you’d like this behavior only on certain projects, atomic-management or project-config will let you define this setting in a project-specific overrides file.