From 362baca757ab5bf28d5f67221173771ed73c627e Mon Sep 17 00:00:00 2001 From: root Date: Fri, 23 Nov 2018 09:20:45 +0000 Subject: [PATCH] add fonts, css, scripts, remove share buttons, another minor fixes --- layouts/_default/list.html | 24 +++++++++---- layouts/partials/head.html | 4 +-- layouts/partials/highlightjs.html | 4 +-- layouts/partials/menu.html | 32 +++++------------- layouts/partials/share.html | 21 ------------ static/css/fonts.css | 32 ++++++++++++++++++ static/css/pojoaque.min.css | 1 + .../HI_SiYsKILxRpg3hIP6sJ7fM7PqlM-vWjMY.woff2 | Bin 0 -> 11260 bytes .../HI_SiYsKILxRpg3hIP6sJ7fM7PqlPevW.woff2 | Bin 0 -> 13436 bytes ...HI_XiYsKILxRpg3hIP6sJ7fM7Pqths7Ds-cq.woff2 | Bin 0 -> 13180 bytes ...XiYsKILxRpg3hIP6sJ7fM7Pqths7Dvecq_mk.woff2 | Bin 0 -> 11080 bytes static/js/highlight.min.js | 3 ++ 12 files changed, 65 insertions(+), 56 deletions(-) create mode 100644 static/css/fonts.css create mode 100644 static/css/pojoaque.min.css create mode 100644 static/fonts/HI_SiYsKILxRpg3hIP6sJ7fM7PqlM-vWjMY.woff2 create mode 100644 static/fonts/HI_SiYsKILxRpg3hIP6sJ7fM7PqlPevW.woff2 create mode 100644 static/fonts/HI_XiYsKILxRpg3hIP6sJ7fM7Pqths7Ds-cq.woff2 create mode 100644 static/fonts/HI_XiYsKILxRpg3hIP6sJ7fM7Pqths7Dvecq_mk.woff2 create mode 100644 static/js/highlight.min.js diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 89c5544..5814d33 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,12 +1,22 @@ {{ partial "top.html" . }} {{ $paginator := .Paginate .Data.Pages.ByPublishDate }} -
- {{ range $paginator.Pages }} -
-

{{ .Title }} - {{ dateFormat "2006-01-02 15:04:05" .Date }}

- {{ .Summary }} -
+
+

свободная область, но чтоб там можно было написать свой текст

+

+ {{ with .Site.Taxonomies.categories }} +
+
    + {{ range $name, $taxonomy := . }} +
  • {{ $name }}

  • + {{ range $taxonomy.Pages }} + + {{ end }} + {{ end }} +
+
{{ end }} -
+ {{ template "_internal/pagination.html" . }} {{ partial "bottom.html" . }} diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 726b948..9c26ddc 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -10,5 +10,5 @@ {{ .Title }} {{ .Hugo.Generator }} {{ partial "highlightjs.html" }} - - + + diff --git a/layouts/partials/highlightjs.html b/layouts/partials/highlightjs.html index a56c57c..47fa645 100644 --- a/layouts/partials/highlightjs.html +++ b/layouts/partials/highlightjs.html @@ -1,3 +1,3 @@ - - + + diff --git a/layouts/partials/menu.html b/layouts/partials/menu.html index 1c3ee96..505268d 100644 --- a/layouts/partials/menu.html +++ b/layouts/partials/menu.html @@ -1,33 +1,17 @@