fix
This commit is contained in:
parent
d9f8fd05ff
commit
be3f528e74
@ -1,7 +1,7 @@
|
||||
+++
|
||||
date = "2024-04-01T00:00:00+09:00"
|
||||
tags = ["blog"]
|
||||
title = "change layout"
|
||||
title = "update layout"
|
||||
+++
|
||||
|
||||
layoutを変更しました。
|
||||
layoutを更新しました。
|
||||
|
@ -12,8 +12,7 @@ date = "2024-01-22"
|
||||
|
||||
</div>
|
||||
|
||||
<iframe src="https://manga.syui.ai/0" allowfullscreen frameborder="0" class="manga"></iframe>
|
||||
|
||||
<iframe src="https://manga.syui.ai" allowfullscreen frameborder="0" class="manga"></iframe>
|
||||
|
||||
<!--more-->
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
<div id="blog-archives" class="category">
|
||||
<ul class="cp_list">
|
||||
{{ range .Data.Pages.Reverse }}
|
||||
<li class="blog-list">
|
||||
<li class="blog-list-first">
|
||||
<a href="{{.Permalink}}">{{.Title}}</a> <span class="blog-date">{{ .Date.Local.Format "2006-01-02" }}</span>
|
||||
</li>
|
||||
{{ end }}
|
||||
|
@ -2,18 +2,15 @@
|
||||
{{ partial "navbar.html" . }}
|
||||
{{ partial "header.html" . }}
|
||||
|
||||
{{ $s := path.Dir (.Permalink | relURL) }}
|
||||
{{ $t := index (split $s "/") 2 }}
|
||||
{{ $o := index (split $s "/") 1 }}
|
||||
|
||||
{{ if eq $t "img" }}
|
||||
{{ partial "img.html" . }}
|
||||
{{ else }}
|
||||
{{ .Content }}
|
||||
{{ end }}
|
||||
</div>
|
||||
<article>
|
||||
<div class="content">
|
||||
{{ if ne .Lastmod .Date }}<div class="post-time-date">{{ .Lastmod.Format "2006-01-02" }}</div>{{ end }}
|
||||
<h2>{{ .Title }}</h2>
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</article>
|
||||
|
||||
</div>
|
||||
{{ partial "footer.html" . }}
|
||||
{{ partial "footer.html" . }}
|
||||
</body>
|
||||
</html>
|
||||
|
@ -208,6 +208,7 @@ pre > code {
|
||||
|
||||
h2 {
|
||||
line-height: 2rem;
|
||||
padding-bottom:2rem;
|
||||
}
|
||||
|
||||
span.tag {
|
||||
@ -1055,7 +1056,6 @@ table {
|
||||
table {
|
||||
border-spacing: 2px;
|
||||
}
|
||||
|
||||
|
||||
li.blog-list-first {
|
||||
background-color: #fff;
|
||||
@ -1123,3 +1123,4 @@ li.blog-menu button:hover {
|
||||
a.menu-link-left-black span.icon-aiterm {
|
||||
color: #fff700;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user