From 46500955c8a7b36dd1fcad8b7cf4fa5c6c9096ba Mon Sep 17 00:00:00 2001 From: Rohan Sircar Date: Mon, 29 Jul 2019 18:14:36 +0530 Subject: [PATCH] made various changes --- .gitignore | 0 .gitmodules | 0 README.md | 0 archetypes/.gitkeep | 0 assets/.gitkeep | 0 assets/css/page.css | 3 ++- assets/images/background.jpg | Bin assets/js/widgets/search.js | 0 config.toml | 4 ++-- content/about.md | 0 content/post/_index.md | 5 ++++ content/post/creating-a-new-theme.md | 3 +++ content/post/goisforlovers.md | 0 content/post/hugoisforlovers.md | 0 content/post/migrate-from-jekyll.md | 0 data/.gitkeep | 0 layouts/_default/baseof.html | 0 layouts/partials/foot.html | 34 +++++++++++++++++++++++++++ layouts/partials/head.html | 4 +++- netlify.toml | 0 static/.gitkeep | 0 21 files changed, 49 insertions(+), 4 deletions(-) mode change 100644 => 100755 .gitignore mode change 100644 => 100755 .gitmodules mode change 100644 => 100755 README.md mode change 100644 => 100755 archetypes/.gitkeep mode change 100644 => 100755 assets/.gitkeep mode change 100644 => 100755 assets/css/page.css mode change 100644 => 100755 assets/images/background.jpg mode change 100644 => 100755 assets/js/widgets/search.js mode change 100644 => 100755 config.toml mode change 100644 => 100755 content/about.md mode change 100644 => 100755 content/post/_index.md mode change 100644 => 100755 content/post/creating-a-new-theme.md mode change 100644 => 100755 content/post/goisforlovers.md mode change 100644 => 100755 content/post/hugoisforlovers.md mode change 100644 => 100755 content/post/migrate-from-jekyll.md mode change 100644 => 100755 data/.gitkeep mode change 100644 => 100755 layouts/_default/baseof.html create mode 100755 layouts/partials/foot.html mode change 100644 => 100755 netlify.toml mode change 100644 => 100755 static/.gitkeep diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/.gitmodules b/.gitmodules old mode 100644 new mode 100755 diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/archetypes/.gitkeep b/archetypes/.gitkeep old mode 100644 new mode 100755 diff --git a/assets/.gitkeep b/assets/.gitkeep old mode 100644 new mode 100755 diff --git a/assets/css/page.css b/assets/css/page.css old mode 100644 new mode 100755 index c3eacae..9678b94 --- a/assets/css/page.css +++ b/assets/css/page.css @@ -50,7 +50,8 @@ #site-container { margin: auto; - background-color: rgba(0,0,0,0.65); + /*background-color: rgba(0,0,0,0.65);*/ + background-color: var(--color-bg-main); max-width: 1080px; margin: 25px auto; } diff --git a/assets/images/background.jpg b/assets/images/background.jpg old mode 100644 new mode 100755 diff --git a/assets/js/widgets/search.js b/assets/js/widgets/search.js old mode 100644 new mode 100755 diff --git a/config.toml b/config.toml old mode 100644 new mode 100755 index a7d1374..0f2b567 --- a/config.toml +++ b/config.toml @@ -113,9 +113,9 @@ guide and the [user documentation](https://bluestnight.com/docs/midnight/users/) ## Change the color scheme of the site ## The commented out values are the defaults used ## See also: https://bluestnight.com/docs/midnight/users/site/appearance/#custom-colors -#[params.color] +[params.color] #page_background = "#000000" - #main_background = "#050505" + main_background = "rgba(5,5,5,0.65)" #alt_background = "#252525" #main_text = "#e2e2e2" #alt_text = "#e2e2e2" diff --git a/content/about.md b/content/about.md old mode 100644 new mode 100755 diff --git a/content/post/_index.md b/content/post/_index.md old mode 100644 new mode 100755 index 6becedc..62233c9 --- a/content/post/_index.md +++ b/content/post/_index.md @@ -3,3 +3,8 @@ title = "Posts" menu = "main" weight = 1 +++ +Index page +``` +$ sudo apt update +# this is a comment +``` diff --git a/content/post/creating-a-new-theme.md b/content/post/creating-a-new-theme.md old mode 100644 new mode 100755 index f8230a1..0b9b9d8 --- a/content/post/creating-a-new-theme.md +++ b/content/post/creating-a-new-theme.md @@ -9,6 +9,9 @@ next: /tutorials/github-pages-blog prev: /tutorials/automated-deployments title: Creating a New Theme weight: 10 +opacity: false +sidebar: + disable: true --- diff --git a/content/post/goisforlovers.md b/content/post/goisforlovers.md old mode 100644 new mode 100755 diff --git a/content/post/hugoisforlovers.md b/content/post/hugoisforlovers.md old mode 100644 new mode 100755 diff --git a/content/post/migrate-from-jekyll.md b/content/post/migrate-from-jekyll.md old mode 100644 new mode 100755 diff --git a/data/.gitkeep b/data/.gitkeep old mode 100644 new mode 100755 diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html old mode 100644 new mode 100755 diff --git a/layouts/partials/foot.html b/layouts/partials/foot.html new file mode 100755 index 0000000..1ce4211 --- /dev/null +++ b/layouts/partials/foot.html @@ -0,0 +1,34 @@ +{{ partial "matomo/foot.html" . }} +{{ partial "iubenda/foot.html" . }} + +{{if eq .Params.opacity true}} + +{{end}} + +{{- partial "script" (dict "Asset" "js/jquery.slim.js" "Defer" true "Root" $) -}} +{{- partial "script" (dict "Asset" "js/foundation.js" "Defer" true "Root" $) -}} + +{{ if $.Site.Params.thumbnail -}} + {{- partial "script" (dict "Asset" "js/thumbnail.js" "Defer" true "Root" $) -}} +{{- end -}} + +{{- partial "shortcodes/partial.html" (dict "Prop" "foot" "Root" $) -}} + +{{- partial "sidebar/partial.html" (dict "Prop" "foot" "Root" $) -}} + +{{- partial "comments/partial.html" (dict "Prop" "foot" "Root" $) -}} + +{{- partial "plugins/partial.html" (dict "Prop" "foot" "Root" $) -}} + +{{- partial "script" (dict "Asset" "js/index.js" "Defer" true "Root" $) -}} + +{{- if ($.Scratch.Get "has_async_css") -}} +{{- partial "script" (dict "Asset" "js/relpreload.js" "Root" $ "Defer" false) -}} +{{- partial "script" (dict "Asset" "js/loadCSS.js" "Root" $ "Defer" false) -}} +{{- partial "script" (dict "Asset" "js/asyncCSS.js" "Root" $ "Defer" false) -}} +{{- end -}} diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 5fb6020..1701a95 100755 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -18,6 +18,8 @@ + + {{- $assets := slice -}} {{- .Scratch.Set "sitevar" $.Site -}} @@ -111,4 +113,4 @@ {{ partial "matomo/head2.html" . }} -{{- partial "favicons.html" . -}} \ No newline at end of file +{{- partial "favicons.html" . -}} diff --git a/netlify.toml b/netlify.toml old mode 100644 new mode 100755 diff --git a/static/.gitkeep b/static/.gitkeep old mode 100644 new mode 100755