mirror of
https://github.com/fruworg/themu.git
synced 2025-08-17 22:41:12 +03:00
Compare commits
4 Commits
7eb486c888
...
main
Author | SHA1 | Date | |
---|---|---|---|
fd50a946d0 | |||
1224b6f67c | |||
257284dd68 | |||
74716e29b8 |
@@ -5,7 +5,6 @@
|
|||||||
html {
|
html {
|
||||||
background-color: black;
|
background-color: black;
|
||||||
background-image: url("https://fruw.org/background.gif");
|
background-image: url("https://fruw.org/background.gif");
|
||||||
background-attachment: fixed;
|
|
||||||
background-position: center top;
|
background-position: center top;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
color: #232333;
|
color: #232333;
|
||||||
@@ -16,6 +15,18 @@ html {
|
|||||||
scrollbar-width: thin;
|
scrollbar-width: thin;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
html::before {
|
||||||
|
content: "";
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
background-color: black;
|
||||||
|
opacity: 0.8;
|
||||||
|
z-index: -1;
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
display: block;
|
display: block;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
@@ -2,5 +2,6 @@
|
|||||||
{{ "Добро пожаловать на мой веб-сайт!" | safeHTML }}
|
{{ "Добро пожаловать на мой веб-сайт!" | safeHTML }}
|
||||||
{{ "Сайт сделан на HUGO, тема - themu" | safeHTML }}
|
{{ "Сайт сделан на HUGO, тема - themu" | safeHTML }}
|
||||||
{{ "Контент лицензирован под СС BY-SA" | safeHTML }}
|
{{ "Контент лицензирован под СС BY-SA" | safeHTML }}
|
||||||
{{ "ASCII-арт взят с сайта patorjk.com" | safeHTML }}
|
{{ "ASCII-text made with patjork.com" | safeHTML }}
|
||||||
|
{{ "./background.gif by A. L. Crego" | safeHTML }}
|
||||||
{{ "-->" | safeHTML }}
|
{{ "-->" | safeHTML }}
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
<head lang="{{ .Site.Language.Lang }}">
|
<head lang="{{ .Site.Language.Lang }}">
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
{{- $title := ( .Title ) -}}
|
{{- $title := ( .Title ) -}}
|
||||||
{{- $siteTitle := ( .Site.Title ) -}}
|
{{- $siteTitle := ( .Site.Title ) -}}
|
||||||
{{- if .IsHome -}}
|
{{- if .IsHome -}}
|
||||||
@@ -13,9 +13,10 @@
|
|||||||
<link rel="icon" type="image/png" href={{ .Site.BaseURL }}{{ .Site.Params.favicon }} />
|
<link rel="icon" type="image/png" href={{ .Site.BaseURL }}{{ .Site.Params.favicon }} />
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end }}" />
|
<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end }}" />
|
||||||
<meta property="og:image" content="{{ .Site.BaseURL }}{{ .Site.Params.og_image }}"/>
|
<meta prefix="og: http://ogp.me/ns#" />
|
||||||
|
<meta property="og:image" content="{{ .Site.BaseURL }}{{ .Site.Params.og_image }}" />
|
||||||
{{ with .OutputFormats.Get "rss" -}}
|
{{ with .OutputFormats.Get "rss" -}}
|
||||||
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
@@ -30,7 +31,7 @@
|
|||||||
{{- if isset .Site.Params "customcss" }}
|
{{- if isset .Site.Params "customcss" }}
|
||||||
{{ range .Site.Params.customCSS }}
|
{{ range .Site.Params.customCSS }}
|
||||||
{{ $customstyle := resources.Get . | fingerprint }}
|
{{ $customstyle := resources.Get . | fingerprint }}
|
||||||
<link rel="stylesheet" type="text/css" href="{{ $customstyle.Permalink }}">
|
<link rel="stylesheet" type="text/css" href="{{ $customstyle.Permalink }}" />
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- range .Site.Params.customJS }}
|
{{- range .Site.Params.customJS }}
|
||||||
|
Reference in New Issue
Block a user