Browse Source

made various changes

development
Rohan Sircar 5 years ago
parent
commit
46500955c8
  1. 0
      .gitignore
  2. 0
      .gitmodules
  3. 0
      README.md
  4. 0
      archetypes/.gitkeep
  5. 0
      assets/.gitkeep
  6. 3
      assets/css/page.css
  7. 0
      assets/images/background.jpg
  8. 0
      assets/js/widgets/search.js
  9. 4
      config.toml
  10. 0
      content/about.md
  11. 5
      content/post/_index.md
  12. 3
      content/post/creating-a-new-theme.md
  13. 0
      content/post/goisforlovers.md
  14. 0
      content/post/hugoisforlovers.md
  15. 0
      content/post/migrate-from-jekyll.md
  16. 0
      data/.gitkeep
  17. 0
      layouts/_default/baseof.html
  18. 34
      layouts/partials/foot.html
  19. 4
      layouts/partials/head.html
  20. 0
      netlify.toml
  21. 0
      static/.gitkeep

0
.gitignore

0
.gitmodules

0
README.md

0
archetypes/.gitkeep

0
assets/.gitkeep

3
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;
}

0
assets/images/background.jpg

Before

Width: 1920  |  Height: 1280  |  Size: 198 KiB

After

Width: 1920  |  Height: 1280  |  Size: 198 KiB

0
assets/js/widgets/search.js

4
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"

0
content/about.md

5
content/post/_index.md

@ -3,3 +3,8 @@ title = "Posts"
menu = "main"
weight = 1
+++
Index page
```
$ sudo apt update
# this is a comment
```

3
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
---

0
content/post/goisforlovers.md

0
content/post/hugoisforlovers.md

0
content/post/migrate-from-jekyll.md

0
data/.gitkeep

0
layouts/_default/baseof.html

34
layouts/partials/foot.html

@ -0,0 +1,34 @@
{{ partial "matomo/foot.html" . }}
{{ partial "iubenda/foot.html" . }}
{{if eq .Params.opacity true}}
<style>
:root
{
--color-bg-main: #000;
}
</style>
{{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 -}}

4
layouts/partials/head.html

@ -18,6 +18,8 @@
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/lunr.js/2.3.6/lunr.min.js" defer=""></script>
{{- $assets := slice -}}
{{- .Scratch.Set "sitevar" $.Site -}}
@ -111,4 +113,4 @@
{{ partial "matomo/head2.html" . }}
{{- partial "favicons.html" . -}}
{{- partial "favicons.html" . -}}

0
netlify.toml

0
static/.gitkeep

Loading…
Cancel
Save