Skip to content

lunet-io/templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lunet Default Template

This repository is the default template for the lunet static website generator, hosted at https://github.com/lunet-io/templates.

Consumer sites reference it in their config.scriban with:

extend "lunet-io/templates"

See dist/readme.md for the full quickstart guide, theme configuration, and customization reference.

Layout

  • dist/.lunet/ — shared Lunet layouts, CSS, and JS assets
  • dist/config.scriban — shared Lunet config (everything except site-specific values)
  • dist/404.md — default 404 page
  • dist/banner.md — default social/banner capture page
  • dist/.nojekyll — GitHub Pages setting

How a project site consumes this template

  1. Import shared config from this template:

    extend "lunet-io/templates"
    
  2. Keep project-specific values in site/config.scriban only:

    • site_project_name
    • site_project_description
    • site_project_logo_path
    • site_project_social_banner_path
    • site_project_banner_background_path
    • site_project_package_id
    • site_project_github_repo
    • site_project_basepath
  3. Call site_project_init after site-specific properties are set.

Notes

  • dist is the artifact-like source of truth for template content.
  • Do not add site/.lunet/build outputs to this template.

Contributors