made various changes

This commit is contained in:
Rohan Sircar 2019-07-29 18:14:36 +05:30
parent 303c69d718
commit 46500955c8
21 changed files with 49 additions and 4 deletions

0
.gitignore vendored Normal file → Executable file
View File

0
.gitmodules vendored Normal file → Executable file
View File

0
README.md Normal file → Executable file
View File

0
archetypes/.gitkeep Normal file → Executable file
View File

0
assets/.gitkeep Normal file → Executable file
View File

3
assets/css/page.css Normal file → Executable file
View File

@ -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 Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 198 KiB

After

Width:  |  Height:  |  Size: 198 KiB

0
assets/js/widgets/search.js Normal file → Executable file
View File

4
config.toml Normal file → Executable file
View File

@ -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 Normal file → Executable file
View File

5
content/post/_index.md Normal file → Executable file
View File

@ -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 Normal file → Executable file
View File

@ -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 Normal file → Executable file
View File

0
content/post/hugoisforlovers.md Normal file → Executable file
View File

0
content/post/migrate-from-jekyll.md Normal file → Executable file
View File

0
data/.gitkeep Normal file → Executable file
View File

0
layouts/_default/baseof.html Normal file → Executable file
View File

34
layouts/partials/foot.html Executable file
View File

@ -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 -}}

View File

@ -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 -}}

0
netlify.toml Normal file → Executable file
View File

0
static/.gitkeep Normal file → Executable file
View File