diff --git a/Cargo.lock b/Cargo.lock index 3ee39de..9fb8210 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -331,7 +331,7 @@ dependencies = [ [[package]] name = "simple-ssg" -version = "3.1.0" +version = "3.1.1" dependencies = [ "anyhow", "clap", diff --git a/Cargo.toml b/Cargo.toml index 5cd5cdb..dbd3767 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ authors = ["Ryan Brue "] repository = "https://github.com/ryanabx/simple-ssg" license = "MIT" readme = "README.md" -version = "3.1.0" +version = "3.1.1" edition = "2021" description = "Plain and simple static site generator for Djot and Markdown light markup languages" diff --git a/src/templates.rs b/src/templates.rs index 1cf4cca..b95b256 100644 --- a/src/templates.rs +++ b/src/templates.rs @@ -13,1278 +13,1296 @@ impl BuiltInTemplate { "".to_string() } Self::GithubMarkdown => { - r##" + r##" + - + .content-body { + padding: 1%; + } + + .table-of-contents { + flex: 0 1 auto; + font-size: 12px; + padding: 1%; + } + + .my-container { + display: flex; + min-height: 100vh; + } + -

Contents:

- -
-
- +
+
+ Contents: + +
+
+
+ +
+
-
- -"##.to_string() + + "##.to_string() } } }