Setup

Install module and config

Beta, still under development

Install

/config/_default/module.yaml

imports:
  - path: github.com/hugolify/hugolify-admin

CMS params

/config/_default/params.yaml

# Default params
admin:
  cms: decapcms # [decapcms, sveltiacms, staticcms, netlifycms] 
  config:
    id: true # use ID for dir/name files and relation 
  i18n:
    default_locale: en # master lang for an i18n website 
    locales: false # "[en,fr]" for an i18n website
  media:
    max_file_size: 700000 # 700ko
    video_max_file_size: 5000000 # 5Mo
  nested:
    depth: 10 # set minimum 2
  netlify:
    identity: true # Add Netlify identity script
  preview: false

CMS language

/config/_default/hugo.yaml

Language set with defaultContentLanguage from Hugo config.

Repository

Hugolify Admin