From 4040fc3aa8cfc1b73b34c81a70a83b1f4b138b80 Mon Sep 17 00:00:00 2001 From: Vrifox Date: Thu, 17 Sep 2020 21:51:17 +0200 Subject: [PATCH] added tags --- .gitignore | 1 - assets/scss/_default/single.scss | 21 ++++ config.yaml | 4 +- layouts/_default/baseof.html | 2 +- layouts/_default/single.html | 19 ++- layouts/index.html | 2 +- layouts/partials/footer.html | 26 ++-- public/404.html | 42 +++---- .../2020/graphic-for-natenoms-blog/index.html | 61 +++++---- public/blog/2020/my-new-hugo-page/index.html | 58 +++++---- public/blog/index.html | 42 +++---- public/blog/index.xml | 12 +- public/categories/index.html | 42 +++---- public/categories/index.xml | 12 +- public/categories/natenomsblog/index.html | 42 +++---- public/categories/natenomsblog/index.xml | 12 +- public/index.html | 46 +++---- public/index.xml | 12 +- public/projects/2008/my-website/index.html | 54 ++++---- .../projects/2014/omega-for-mumble/index.html | 57 +++++---- public/projects/2015/natenoms-blog/index.html | 57 +++++---- public/projects/2015/simpleblog/index.html | 55 ++++----- public/projects/2017/mmm-dark/index.html | 57 +++++---- .../2018/gitea-theme-vrifox-2018/index.html | 57 +++++---- public/projects/index.html | 42 +++---- public/projects/index.xml | 12 +- public/robots.txt | 14 ++- public/scss/_default/single.css | 16 +++ public/sitemap.xml | 30 +++-- public/tags/graphic/index.html | 116 ++++++++++++++++++ public/tags/graphic/index.xml | 20 +++ public/tags/index.html | 69 +++++++---- public/tags/index.xml | 32 ++++- public/tags/natenom/index.html | 116 ++++++++++++++++++ public/tags/natenom/index.xml | 20 +++ public/tags/website/index.html | 116 ++++++++++++++++++ public/tags/website/index.xml | 21 ++++ ...s_f300667da4f5b5f84e1a9e0702b2fdde.content | 16 +++ 38 files changed, 976 insertions(+), 457 deletions(-) create mode 100644 public/tags/graphic/index.html create mode 100644 public/tags/graphic/index.xml create mode 100644 public/tags/natenom/index.html create mode 100644 public/tags/natenom/index.xml create mode 100644 public/tags/website/index.html create mode 100644 public/tags/website/index.xml 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 @@