From 86b4f6f6d73401628db976b6259d85309d672597 Mon Sep 17 00:00:00 2001 From: 10mohi6 <10.mohi.6.y@gmail.com> Date: Tue, 16 Jun 2020 14:22:12 +0900 Subject: update theme --- README.md | 3 ++ images/screenshot.png | Bin 114818 -> 182156 bytes images/tn.png | Bin 82043 -> 95429 bytes layouts/404.html | 24 ++++++------ layouts/_default/list.html | 90 +++++++++++++++++++++---------------------- layouts/_default/single.html | 75 +++++++++++++++++++++--------------- layouts/partials/footer.html | 35 +++++++++++++---- layouts/partials/header.html | 11 +++--- static/css/bootstrap.css | 33 ++++++---------- static/css/custom.css | 61 +++++++++++++++++++++++++++++ 10 files changed, 213 insertions(+), 119 deletions(-) create mode 100644 static/css/custom.css diff --git a/README.md b/README.md index 1697c97..224d4b9 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,9 @@ footnoteReturnLinkContents = "^" [taxonomies] category = "categories" tag = "tags" + +[params] +description = "" ``` ## Contributing diff --git a/images/screenshot.png b/images/screenshot.png index 9fd57d7..89a27f3 100644 Binary files a/images/screenshot.png and b/images/screenshot.png differ diff --git a/images/tn.png b/images/tn.png index 5f5ab40..ef8d8c5 100644 Binary files a/images/tn.png and b/images/tn.png differ diff --git a/layouts/404.html b/layouts/404.html index 133ac8c..aea87ac 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -1,13 +1,15 @@ {{ partial "header.html" . }} -
-

{{ .Site.Title }}

-

-
-
-
-
-

404 page not found

-
-
-
+
+
+
+
+
+

Page not found

+

The page you are looking for does not exist.

+ Go to home page +
+
+
+
+
{{ partial "footer.html" . }} diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 86eb1e3..540bedf 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -3,49 +3,49 @@ {{ if eq .Kind "taxonomy" }} {{ $paginator = .Data }} {{ end }} -
- {{ if not .IsHome }} -

{{ .Title }}

-

- Back to Home{{ len .Data.Pages }} Articles to read -

- {{ else }} -

{{ .Site.Title }}

-

- {{ end }} -
-
- {{ range $paginator.Pages }} -
-
- {{ range .Params.categories }} - {{ . }} - {{ end }} -

- {{ .Title }} -

-

{{.Date.Format "January 2, 2006"}}

-
- {{ .Summary | plainify | htmlUnescape }} -
- {{ range .Params.tags }} - #{{ . }} - {{ end }} -
-
- {{ end }} -
-
- -
-
-
+
+
+
+
+

{{ if not .IsHome }}{{ .Title }}{{ else }}{{ .Site.Title }}{{ end }}

+
+
+
+
+
+
+ {{ range $paginator.Pages }} +
+
+
+ {{ range .Params.categories }} + {{ . }} + {{ end }} +

+ {{ .Title }} +

+

{{.Date.Format "January 2, 2006"}}

+

{{ .Summary | plainify | htmlUnescape }}

+

+ {{ range .Params.tags }} + #{{ . }} + {{ end }} +

+
+
+
+ {{ end }} +
+ +
+
+
{{ partial "footer.html" . }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 6555d51..f1e56cb 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,31 +1,46 @@ {{ partial "header.html" . }} -
- {{ range .Params.categories }} - {{ . }} - {{ end }} -

{{ .Title }}

-

{{.Date.Format "January 2, 2006"}}

- {{ range .Params.tags }} - #{{ . }} - {{ end }} -
-
-
-
- {{ .Content }} -
-
-
-
- {{ with .PrevInSection }} - < {{ .Title }} - {{ end }} -
-
- {{ with .NextInSection }} - {{ .Title }} > - {{ end }} -
-
-
-{{ partial "footer.html" . }} \ No newline at end of file +
+
+
+
+ {{ range .Params.categories }} + {{ . }} + {{ end }} +

{{ .Title }}

+

{{.Date.Format "January 2, 2006"}}

+
+
+
+
+
+
+
+
+ {{ .Content }} +

+ {{ with .Params.tags }} + Tagged: + {{ end }} + {{ range .Params.tags }} + #{{ . }} + {{ end }} +

+
+
+
+ {{ with .PrevInSection }} + ← {{ .Title }} + {{ end }} +
+
+ {{ with .NextInSection }} + {{ .Title }} → + {{ end }} +
+
+
+
+
+
+
+{{ partial "footer.html" . }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 5651794..cb58bb0 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,9 +1,30 @@ -