edited post

This commit is contained in:
Morgan 2023-10-31 15:46:36 +09:00
parent 052aa96028
commit 9ac8ff1012
13 changed files with 5 additions and 25 deletions

View File

@ -30,7 +30,7 @@ params:
ShowBreadCrumbs: false
ShowCodeCopyButtons: true
ShowWordCount: false
ShowRssButtonInSectionTermList: true
ShowRssButtonInSectionTermList: false
UseHugoToc: true
disableSpecial1stPost: false

View File

@ -11,7 +11,7 @@
}
.post-title-header {
margin: 24px auto calc(var(--content-gap) + 20px) auto;
margin: 24px auto var(--content-gap) auto;
margin-left: var(--gap);
}

View File

@ -1,11 +1,3 @@
.main {
scroll-snap-type: y mandatory;
}
.posts-entry-div {
scroll-snap-align: start;
}
.first-entry {
scroll-snap-align: start;
position: relative;

View File

@ -1,10 +1,11 @@
.post-header {
margin: 24px auto calc(var(--content-gap) + 20px) auto;
text-align: center;
}
.post-title {
margin-top: 32px;
margin-bottom: 24px;
margin-bottom: 18px;
font-size: 24px;
padding-top: 32px;
}
@ -14,12 +15,9 @@
margin-bottom: 5px;
}
.post-meta,
.breadcrumbs {
.post-meta {
color: var(--secondary);
font-size: 14px;
display: flex;
flex-wrap: wrap;
}
.post-meta .i18n_list li {

View File

@ -1,3 +0,0 @@
{{- define "main" }}
<div class="not-found">404</div>
{{- end }}{{/* end main */ -}}

View File

@ -1,7 +0,0 @@
User-agent: *
{{- if hugo.IsProduction | or (eq site.Params.env "production") }}
Disallow:
{{- else }}
Disallow: /
{{- end }}
Sitemap: {{ "sitemap.xml" | absURL }}