sc0ttj / mdsh

A simple static site generator, using Markdown and Bash
https://sc0ttj.github.io/mdsh/
10 stars 0 forks source link

Improvements to generated pages #54

Closed sc0ttj closed 5 years ago

sc0ttj commented 5 years ago

Better structured data

more items

The default entries could be overridden by new post -all asking for page type.

See Page Type

More responsive

This should make it easier to target specific browsers, devices, etc.

Alternative way to handle custom CSS for each page:

<body class="my-cool-article [other classes]">

This will allow custom CSS for each page to be added in main.css (so no extra network requests) like so:

.my-cool-article .page-header {
    // some styles for page header of page 'my-cool-article.html'
}

Fix JSON-LD

Canonical URLs

Make sure all pages have canonical URLs, to limit duplicate URLs in search results, and help point users to the pages we actually want them to see .. More info: