From 565d34ced014cbdfadd8773925948ec3a5f3d938 Mon Sep 17 00:00:00 2001 From: Marcell Mars Date: Sun, 11 Jul 2021 14:29:47 +0200 Subject: [PATCH] toml + urls' _index.md --- exampleSite/config.toml | 7 +++++++ exampleSite/content/curriculum/index.md | 10 ++++------ exampleSite/content/metadata/_index.md | 8 ++++---- exampleSite/content/syllabus/firstsyllabus.md | 7 +++---- exampleSite/content/syllabus/fourthsyllabus.md | 7 +++---- exampleSite/content/syllabus/secondsyllabus.md | 9 +++------ exampleSite/content/syllabus/thirdsyllabus.md | 7 +++---- exampleSite/content/topic/firsttopic.md | 9 ++++----- exampleSite/content/topic/secondtopic.md | 10 ++++------ 9 files changed, 35 insertions(+), 39 deletions(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index c913d6d..62eaf90 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -89,6 +89,13 @@ target = "static/css/site-min.css" source = "exampleSite/content/metadata/_index.md" target = "content/metadata/_index.md" +## import _index.md from SandpointsTheme exampleSite to content/urls so the site structure with all of the (back)links is available +# +[[module.imports.mounts]] +source = "exampleSite/content/urls/_index.md" +target = "content/urls/_index.md" + + ## below is the example of custom css imported from customizations directory of Dotawo project # # [[module.imports.mounts]] diff --git a/exampleSite/content/curriculum/index.md b/exampleSite/content/curriculum/index.md index 27dd5cf..32bcc46 100644 --- a/exampleSite/content/curriculum/index.md +++ b/exampleSite/content/curriculum/index.md @@ -1,10 +1,8 @@ ---- -title: Top level curriculum -has_topics: ["firsttopic.md", "secondtopic.md"] ---- - ++++ +title = "Top level curriculum" +has_topics = ["firsttopic.md", "secondtopic.md"] ++++ # Top level, a curriculum Here we want to describe what the project is about... - diff --git a/exampleSite/content/metadata/_index.md b/exampleSite/content/metadata/_index.md index 1fa005f..511ede1 100644 --- a/exampleSite/content/metadata/_index.md +++ b/exampleSite/content/metadata/_index.md @@ -1,4 +1,4 @@ ---- -title: "meta" -outputs: js ---- ++++ +title = "meta" +outputs = "js" ++++ diff --git a/exampleSite/content/syllabus/firstsyllabus.md b/exampleSite/content/syllabus/firstsyllabus.md index 004e7c5..a16a08f 100644 --- a/exampleSite/content/syllabus/firstsyllabus.md +++ b/exampleSite/content/syllabus/firstsyllabus.md @@ -1,8 +1,7 @@ ---- -title: First Syllabus Inside A First Topic Inside A Top Level Curriculum ---- ++++ +title = "First Syllabus Inside A First Topic Inside A Top Level Curriculum" ++++ # About first syllabus This should work more as an example than anything else. But one could edit and play with it... - diff --git a/exampleSite/content/syllabus/fourthsyllabus.md b/exampleSite/content/syllabus/fourthsyllabus.md index 15627e4..237b1a4 100644 --- a/exampleSite/content/syllabus/fourthsyllabus.md +++ b/exampleSite/content/syllabus/fourthsyllabus.md @@ -1,8 +1,7 @@ ---- -title: Fourth Syllabus Inside A Second Topic Inside A Top Level Curriculum ---- ++++ +title = "Fourth Syllabus Inside A Second Topic Inside A Top Level Curriculum" ++++ # About fourth syllabus This should work more as an example than anything else. But one could edit and play with it... - diff --git a/exampleSite/content/syllabus/secondsyllabus.md b/exampleSite/content/syllabus/secondsyllabus.md index f8ea9e7..18913f5 100644 --- a/exampleSite/content/syllabus/secondsyllabus.md +++ b/exampleSite/content/syllabus/secondsyllabus.md @@ -1,10 +1,7 @@ --- -title: Second Syllabus Inside A First Topic Inside A Top Level Curriculum ---- ++++ +title = "Second Syllabus Inside A First Topic Inside A Top Level Curriculum" ++++ # About second syllabus This should work more as an example than anything else. But one could edit and play with it... - - - diff --git a/exampleSite/content/syllabus/thirdsyllabus.md b/exampleSite/content/syllabus/thirdsyllabus.md index b9b2938..75da614 100644 --- a/exampleSite/content/syllabus/thirdsyllabus.md +++ b/exampleSite/content/syllabus/thirdsyllabus.md @@ -1,8 +1,7 @@ ---- -title: Third Syllabus Inside A Second Topic Inside A Top Level Curriculum ---- ++++ +title = "Third Syllabus Inside A Second Topic Inside A Top Level Curriculum" ++++ # About third syllabus This should work more as an example than anything else. But one could edit and play with it... - diff --git a/exampleSite/content/topic/firsttopic.md b/exampleSite/content/topic/firsttopic.md index beb2e4f..98c54b4 100644 --- a/exampleSite/content/topic/firsttopic.md +++ b/exampleSite/content/topic/firsttopic.md @@ -1,9 +1,8 @@ ---- -title: First Topic Under Top Level Curriculum -has_syllabi: ["firstsyllabus.md", "secondsyllabus.md"] ---- ++++ +title = First Topic Under Top Level Curriculum +has_syllabi = ["firstsyllabus.md", "secondsyllabus.md"] ++++ # About first topic in a curriculum This should work more as an example than anything else. But one could edit and play with it... - diff --git a/exampleSite/content/topic/secondtopic.md b/exampleSite/content/topic/secondtopic.md index 41cd5e1..5bafbea 100644 --- a/exampleSite/content/topic/secondtopic.md +++ b/exampleSite/content/topic/secondtopic.md @@ -1,10 +1,8 @@ ---- -title: Second Topic Under Top Level Curriculum -has_syllabi: ["thirdsyllabus.md", "fourthsyllabus.md"] ---- ++++ +title = "Second Topic Under Top Level Curriculum" +has_syllabi = ["thirdsyllabus.md", "fourthsyllabus.md"] ++++ # About second topic in a curriculum This should work more as an example than anything else. But one could edit and play with it... - -