diff --git a/.gitignore b/.gitignore index 3e53dc7..15197f0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ /content/* -/puclic deploy git-deploy diff --git a/assets/scss/_default/single.scss b/assets/scss/_default/single.scss index ac12e8b..dab2f50 100644 --- a/assets/scss/_default/single.scss +++ b/assets/scss/_default/single.scss @@ -29,6 +29,27 @@ color: rgb(255, 240, 240); text-decoration: none; } + aside { + margin-top: 80px; + .tags { + display: flex; + list-style: none; + margin-left: -10px; + padding: 0; + li { + background: rgb(60, 60, 90); + padding: 5px 10px; + border-radius: 5px; + margin-left: 10px; + a { + color: rgb(180, 180, 220); + } + a:hover { + background: rgb(70, 70, 105); + } + } + } + } } } diff --git a/config.yaml b/config.yaml index a4e43e6..a8776ea 100644 --- a/config.yaml +++ b/config.yaml @@ -1,7 +1,9 @@ baseURL: https://vrifox.cc/vrifox.cc_hugo/ languageCode: en-us -title: have a nice day +title: vrifox.cc enableRobotsTXT: true +params: + version: 2020-09 menu: main: - identifier: blog diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 1a5c446..33c1c75 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -7,7 +7,7 @@ {{ block "stylesheet" . }}{{ end }} - + diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 9cf7666..93c67cf 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -9,7 +9,7 @@

{{ .Date.Format "2. January 2006" }} - by + by {{ .Params.author }}

{{ .Title }}

@@ -18,27 +18,25 @@ {{ end }} {{ .Content }}
- {{ with .PrevInSection }} + {{ with .PrevInSection }}

{{ .Title }}

@@ -51,8 +49,8 @@ {{ end }}
- {{ end }} - {{ with .NextInSection }} + {{ end }} + {{ with .NextInSection }}

{{ .Title }}

@@ -64,7 +62,8 @@ {{ end }}
- {{ end }} +
+ {{ end }}
diff --git a/layouts/index.html b/layouts/index.html index 5095cd8..1fd0a1e 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -11,7 +11,7 @@ {{.Content}} -

latest articles

+

latest posts

{{ range first 3 (where .Site.RegularPages "Type" "post") }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 2ebc67c..ff6c1cb 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,27 +1,27 @@
- - + +

My New Hugo Page

@@ -86,7 +92,8 @@
- +
+
@@ -94,34 +101,34 @@