From 01ac6a3ae56982666acf3520e4595951f891a258 Mon Sep 17 00:00:00 2001 From: constantinos Date: Wed, 23 Aug 2023 19:19:39 +0300 Subject: [PATCH] Tidy up config blocks --- config.toml | 109 +++++++++++++++++++++++++++------------------------- 1 file changed, 56 insertions(+), 53 deletions(-) diff --git a/config.toml b/config.toml index 57f9790..9c09cf4 100644 --- a/config.toml +++ b/config.toml @@ -90,7 +90,62 @@ target = "data" source = "exampleSite/content/metadata/_index.md" target = "content/metadata/_index.md" +################################################################################################# +## JGDR THEME CUSTOMIZATIONS +################################################################################################# +# MOUNT CUSTOM FONTS +## Vanilla Fonts +[[module.imports.mounts]] +source = "customizations/jgdr/static/fonts" +target = "static/fonts" +# MOUNT CUSTOM CSS +## add figcaption, code; edit pre (font scale); eding table (vert line right) +[[module.imports.mounts]] +source = "customizations/jgdr/static/css/site.min.css" +target = "static/css/site.min.css" +# MOUNT CUSTOM SITE.CSS +## based on Vanilla version, removed paragraph sign +[[module.imports.mounts]] +source = "customizations/jgdr/assets/css/site.css" +target = "assets/css/site.css" +# MOUNT CUSTOM PRINT CSS +## B5 page size +[[module.imports.mounts]] +source = "customizations/jgdr/static/css/print.css" +target = "static/css/print.css" +# MOUNT CUSTOM RENDERER FOR IMAGE +# INCLUDE figcaption and hover text(alt) +[[module.imports.mounts]] +source = "customizations/jgdr/layouts/_default/_markup/render-image.html" +target = "layouts/_default/_markup/render-image.html" +# MOUNT CUSTOM RENDERER FOR LIST +## remove date from keyword list +[[module.imports.mounts]] +source = "customizations/jgdr/layouts/taxonomy/list.html" +target = "layouts/taxonomy/list.html" +# MOUNT CUSTOM HEAD +# Contains Zotero-Compatible Citation Metadata +[[module.imports.mounts]] +source = "customizations/jgdr/layouts/partials/head.html" +target = "layouts/partials/head.html" +# MOUNT CUSTOM HEADER (DOTAWO CUSTOMIZATIONS) +[[module.imports.mounts]] +source = "customizations/jgdr/layouts/partials/header.html" +target = "layouts/partials/header.html" +# MOUNT CUSTOM SINGLE BODY +# based on DOTAWO +# preview 'publishDate' if available +[[module.imports.mounts]] +source = "customizations/jgdr/layouts/partials/singlebody.html" +target = "layouts/partials/singlebody.html" +# MOUNT CUSTOM RENDER LINK +# based on DOTAWO +[[module.imports.mounts]] +source = "customizations/jgdr/layouts/_default/_markup/render-link.html" +target = "layouts/_default/_markup/render-link.html" + +################################################################################################# # CUSTOMIZATIONS - DOTAWO (15/8/23) # below is the list of imports to get the svelte webapp # which handles editing the website @@ -116,61 +171,9 @@ target = "content/metadata/_index.md" # [[module.imports.mounts]] # source = "customizations/Dotawo/layouts/_default/_markup/render-link.html" # target = "layouts/_default/_markup/render-link.html" +################################################################################################# -# TEST CUSTOMIZATION ########################## -# MOUNT CUSTOM FONTS -## Vanilla Fonts -[[module.imports.mounts]] -source = "customizations/jgdr/static/fonts" -target = "static/fonts" -# MOUNT CUSTOM CSS -## add figcaption -## add code -## edit pre (font scale) -## eding table (vert line right) -[[module.imports.mounts]] -source = "customizations/jgdr/static/css/site.min.css" -target = "static/css/site.min.css" -# MOUNT CUSTOM SITE.CSS -## based on Vanilla version, removed paragraph sign -[[module.imports.mounts]] -source = "customizations/jgdr/assets/css/site.css" -target = "assets/css/site.css" -# MOUNT CUSTOM PRINT CSS -## B5 page size -[[module.imports.mounts]] -source = "customizations/jgdr/static/css/print.css" -target = "static/css/print.css" - -# MOUNT CUSTOM RENDERER FOR IMAGE -## INCLUDE figcaption and hover text(alt) -[[module.imports.mounts]] -source = "customizations/jgdr/layouts/_default/_markup/render-image.html" -target = "layouts/_default/_markup/render-image.html" -# MOUNT CUSTOM RENDERER FOR LIST -## remove date from keyword list -[[module.imports.mounts]] -source = "customizations/jgdr/layouts/taxonomy/list.html" -target = "layouts/taxonomy/list.html" - -# FROM DOTAWO -# MOUNT CUSTOM HEAD (Contains Zotero-Compatible Citation Metadata) -[[module.imports.mounts]] -source = "customizations/jgdr/layouts/partials/head.html" -target = "layouts/partials/head.html" -# MOUNT CUSTOM HEADER (DOTAWO CUSTOMIZATIONS) -[[module.imports.mounts]] -source = "customizations/jgdr/layouts/partials/header.html" -target = "layouts/partials/header.html" -# MOUNT CUSTOM SINGLE BODY (DOTAWO CUSTOMIZATIONS) -[[module.imports.mounts]] -source = "customizations/jgdr/layouts/partials/singlebody.html" -target = "layouts/partials/singlebody.html" -# MOUNT CUSTOM RENDER LINK (DOTAWO CUSTOMIZATIONS) -[[module.imports.mounts]] -source = "customizations/jgdr/layouts/_default/_markup/render-link.html" -target = "layouts/_default/_markup/render-link.html" # [[module.imports]]