From 00a043d7372b660ac82d544de98df8e156133b0c Mon Sep 17 00:00:00 2001 From: syui Date: Sat, 27 Apr 2024 12:19:58 +0900 Subject: [PATCH] fix --- content/chara.md | 6 ------ content/novel/10.md | 2 +- content/story.md | 4 ---- layouts/404.html | 15 +++++++------- layouts/_default/list.html | 2 ++ layouts/partials/content.html | 18 ++++++----------- layouts/partials/contribution.html | 32 ++++++++++++++++++++++++++++++ layouts/partials/header.html | 1 + layouts/partials/link.html | 6 ++++++ static/css/style.css | 21 ++++++++++++++++++++ 10 files changed, 76 insertions(+), 31 deletions(-) create mode 100644 layouts/partials/contribution.html create mode 100644 layouts/partials/link.html diff --git a/content/chara.md b/content/chara.md index d70cebad..bb25b502 100644 --- a/content/chara.md +++ b/content/chara.md @@ -4,8 +4,6 @@ slug = "chara" date = "2024-01-23" +++ -
- ## アイ 本名は`月見 唯(つきみ ゆい)`、通称、`アイ`。最も小さい物質を創り出すことができる @@ -18,12 +16,8 @@ date = "2024-01-23" ![](/chara/octo-ou.png) - -
- - ## ドライ アイがガララ星に移り住んだとき一緒についてきたドラゴン diff --git a/content/novel/10.md b/content/novel/10.md index e9aa3dbe..7a67810b 100644 --- a/content/novel/10.md +++ b/content/novel/10.md @@ -1,5 +1,5 @@ +++ -date = "2023-05-20" +date = "2024-04-10" title = "存在の花" slug = "10" type = "novel" diff --git a/content/story.md b/content/story.md index c281079a..00c2fb97 100644 --- a/content/story.md +++ b/content/story.md @@ -5,14 +5,10 @@ date = "2024-01-22" aliases = ['manga'] +++ -
- 地球で暮らしていたアイだったが、訳あって他の星で暮らし始めた。 ドラゴンのドライがついてきた。 -
- diff --git a/layouts/404.html b/layouts/404.html index 666ada1d..e1e84650 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -12,9 +12,9 @@ .container { margin: 50px auto 40px auto; width: 600px; text-align: center; } - a { color: #990000; text-decoration: none;} + a { color: #313131; text-decoration: none;} - a:hover { color: #4183c4;} + a:hover { color: #fff700;} h1 { width: 800px; position:relative; left: -100px; letter-spacing: -1px; line-height: 60px; font-size: 60px; font-weight: 100; margin: 0px 0 50px 0; text-shadow: 0 1px 0 #fff; } p { color: rgba(0, 0, 0, 0.5); margin: 20px 0; line-height: 1.6; } @@ -40,12 +40,12 @@ color: #ccc; } -span.icon-phoenix-world{ - font-size: 50px; -} + span.icon-ai { + font-size: 50px; + } - + @@ -54,11 +54,10 @@ span.icon-phoenix-world{

404

-
- + diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 4ff261fb..3384365c 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,6 +1,7 @@ {{ partial "head.html" . }} {{ partial "navbar.html" . }} {{ partial "header.html" . }} +
@@ -15,6 +16,7 @@
+ {{ partial "footer" . }} diff --git a/layouts/partials/content.html b/layouts/partials/content.html index fb5da87c..02cc133d 100644 --- a/layouts/partials/content.html +++ b/layouts/partials/content.html @@ -7,12 +7,12 @@ {{ range .Data.Pages }} {{ $t := index (split .Permalink "/") 3 }} - {{ if or (eq $t "blog") }} + {{ if or (eq $t "blog") (eq $t "novel") }}
  • - blog + {{ $t }}
  • + {{ range $index,$value := (where $.Site.RegularPages.ByDate "Section" $t) }} - {{ range $index,$value := (where $.Site.RegularPages.ByDate.Reverse "Section" "blog") }} {{ if lt $index 3 }}
  • {{.Title}} {{ .Date.Local.Format "2006-01-02" }} {{ with .Params.tags }}{{ range . }}{{ end }} @@ -23,7 +23,6 @@
  • {{ end }} {{ end }} -
  • {{ end }} @@ -42,25 +41,20 @@ {{ .Summary }} {{ end }} {{ end }} - + {{ end }}
  • -
  • - - +{{ partial "contribution.html" . }} +{{ partial "link.html" . }} diff --git a/layouts/partials/contribution.html b/layouts/partials/contribution.html new file mode 100644 index 00000000..becb6ff5 --- /dev/null +++ b/layouts/partials/contribution.html @@ -0,0 +1,32 @@ + + + +
    + + + diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 4485e232..be22b472 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -33,6 +33,7 @@ +