edited post
This commit is contained in:
		
							parent
							
								
									052aa96028
								
							
						
					
					
						commit
						9ac8ff1012
					
				| 
						 | 
					@ -30,7 +30,7 @@ params:
 | 
				
			||||||
  ShowBreadCrumbs: false
 | 
					  ShowBreadCrumbs: false
 | 
				
			||||||
  ShowCodeCopyButtons: true
 | 
					  ShowCodeCopyButtons: true
 | 
				
			||||||
  ShowWordCount: false
 | 
					  ShowWordCount: false
 | 
				
			||||||
  ShowRssButtonInSectionTermList: true
 | 
					  ShowRssButtonInSectionTermList: false
 | 
				
			||||||
  UseHugoToc: true
 | 
					  UseHugoToc: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  disableSpecial1stPost: false
 | 
					  disableSpecial1stPost: false
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -11,7 +11,7 @@
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.post-title-header {
 | 
					.post-title-header {
 | 
				
			||||||
    margin: 24px auto calc(var(--content-gap) + 20px) auto;
 | 
					    margin: 24px auto var(--content-gap) auto;
 | 
				
			||||||
    margin-left: var(--gap);
 | 
					    margin-left: var(--gap);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,11 +1,3 @@
 | 
				
			||||||
.main {
 | 
					 | 
				
			||||||
    scroll-snap-type: y mandatory;
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
.posts-entry-div {
 | 
					 | 
				
			||||||
    scroll-snap-align: start;
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
.first-entry {
 | 
					.first-entry {
 | 
				
			||||||
    scroll-snap-align: start;
 | 
					    scroll-snap-align: start;
 | 
				
			||||||
    position: relative;
 | 
					    position: relative;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,10 +1,11 @@
 | 
				
			||||||
.post-header {
 | 
					.post-header {
 | 
				
			||||||
    margin: 24px auto calc(var(--content-gap) + 20px) auto;
 | 
					    margin: 24px auto calc(var(--content-gap) + 20px) auto;
 | 
				
			||||||
 | 
					    text-align: center;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.post-title {
 | 
					.post-title {
 | 
				
			||||||
    margin-top: 32px;
 | 
					    margin-top: 32px;
 | 
				
			||||||
    margin-bottom: 24px;
 | 
					    margin-bottom: 18px;
 | 
				
			||||||
    font-size: 24px;
 | 
					    font-size: 24px;
 | 
				
			||||||
    padding-top: 32px;  
 | 
					    padding-top: 32px;  
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					@ -14,12 +15,9 @@
 | 
				
			||||||
    margin-bottom: 5px;
 | 
					    margin-bottom: 5px;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.post-meta,
 | 
					.post-meta {
 | 
				
			||||||
.breadcrumbs {
 | 
					 | 
				
			||||||
    color: var(--secondary);
 | 
					    color: var(--secondary);
 | 
				
			||||||
    font-size: 14px;
 | 
					    font-size: 14px;
 | 
				
			||||||
    display: flex;
 | 
					 | 
				
			||||||
    flex-wrap: wrap;
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.post-meta .i18n_list li {
 | 
					.post-meta .i18n_list li {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,3 +0,0 @@
 | 
				
			||||||
{{- define "main" }}
 | 
					 | 
				
			||||||
<div class="not-found">404</div>
 | 
					 | 
				
			||||||
{{- end }}{{/* end main */ -}}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,7 +0,0 @@
 | 
				
			||||||
User-agent: *
 | 
					 | 
				
			||||||
{{- if hugo.IsProduction | or (eq site.Params.env "production") }}
 | 
					 | 
				
			||||||
Disallow:
 | 
					 | 
				
			||||||
{{- else }}
 | 
					 | 
				
			||||||
Disallow: /
 | 
					 | 
				
			||||||
{{- end }}
 | 
					 | 
				
			||||||
Sitemap: {{ "sitemap.xml" | absURL }}
 | 
					 | 
				
			||||||
		Loading…
	
		Reference in New Issue