Skip to content

noomatic/website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Website for Noomatic

Development

Requires Hugo, see Installing

Development server showing drafts:

hugo server -D

or:

make dev

Python server:

make server

Editing content

Adding a new page

hugo new content/page-name.md

Substitute page-name with the name of the page you want to create. This will create a file with the frontmatter ready for editing.

New pages can be either .md or .html.

Editing shortcodes

Shortcodes are used to insert content into pages. They are located in layouts/shortcodes. They can only be used in files that live in content/, including subfolders.

Editing templates

Templates are used to define the structure of pages. They are located in layouts/.

Editing partials

Partials can only be used in templates (layouts/). They are located in layouts/partials.

Adding images and static content

Place images and static content in static/. They can be referenced in content files and templates directly from the document root. For example, there is a CSS file named styles.css in static/, and it can be referenced in a content file or template like this:

<link rel="stylesheet" href="/styles.css">

About

Website for Noomatic

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •