Blocks

Add/modify blocks

List of Hugolify blocks

See Hugolify blocks on Github

Add or remove blocks

All blocks are available by default but if you want hide or add your blocks, you can do it:

params:
  admin:
    blocks:
      # Array of available blocks
      available:
        - alert
        - chart
        # …

Add or remove fields in blocks

params:
  admin:
    blocks:
      # Array of available fields for a block
      # e.g with paragraph block
      paragraph:
        - title
        - text_markdown
List of Hugolify fields

Create or override a block

Add a yml block file

layouts
  partials
    admin
      blocks
See examples in repository