An Introduction to Static Site Generators | DigitalOcean
static site → pages already generated before the page request rather than on demands
a template engine creates templates for common elements that appear across the site; base template is container of placeholders that are then filled and turned into html
content goes inside markdown files
metadata and front matter is handled by a language like YAML, which defines attributes about the content and can be used to apply a specific layout from the templates. this data usually sits at the top of a content file, encapsulated by --- e.g.
---
title: Front Matter Matters
author: Author Name
description: Write out your description here
layout: base.html
---
Introduction to Static Site Generators | Static Web Publishing for Digital Scholarship
On Windows:
- Click on the
Startbutton- Type
cmdselect the search result for theCommand PromptprogramThis will open your terminal to your
User’s home directory. Here are three important commands to help you navigate your system:
dir| List the contents of your current directorymkdir| Make a new directory (or folder) callednew-folderby runningmkdir new-foldercd| Change directories to a target folder by runningcd path\to\new-folder
SSGs of interest: