Fix
This commit is contained in:
		
							parent
							
								
									d4f2d2eeec
								
							
						
					
					
						commit
						b4cedc2d82
					
				| 
						 | 
					@ -23,7 +23,7 @@ params:
 | 
				
			||||||
    icon: /favicon.png
 | 
					    icon: /favicon.png
 | 
				
			||||||
    icon_inv: /favicon-inv.png
 | 
					    icon_inv: /favicon-inv.png
 | 
				
			||||||
    iconHeight: 24
 | 
					    iconHeight: 24
 | 
				
			||||||
  buildDate: 2023-11-01_22:07:31
 | 
					  buildDate: 1101_2207
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#######################################
 | 
					#######################################
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,3 +1,3 @@
 | 
				
			||||||
sed -i.old "s/buildDate: [0-9]\+-[0-9]\+-[0-9]\+_[0-9]\+:[0-9]\+:[0-9]\+/buildDate: $(date +%Y-%m-%d_%H:%M:%S)/" config.yml
 | 
					sed -i.old "s/buildDate: [0-9]\+-[0-9]\+/buildDate: $(date +%m%d-%H%M)/" config.yml
 | 
				
			||||||
echo buildDate: $(date +%Y-%m-%d_%H:%M:%S)
 | 
					echo buildDate: $(date +%m%d-%H%M)
 | 
				
			||||||
hugo
 | 
					hugo
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -5,8 +5,8 @@
 | 
				
			||||||
    {{- else }}
 | 
					    {{- else }}
 | 
				
			||||||
    <a href="/admin/" style="text-decoration: none;">©</a> <span><a href="{{ "" | absLangURL }}">Morgan</a> · PaperMod</span>
 | 
					    <a href="/admin/" style="text-decoration: none;">©</a> <span><a href="{{ "" | absLangURL }}">Morgan</a> · PaperMod</span>
 | 
				
			||||||
    <div style="font-size: 10px;">
 | 
					    <div style="font-size: 10px;">
 | 
				
			||||||
 | 
					    <span style="">Ver.{{ site.Params.buildDate }} </span>
 | 
				
			||||||
    <a href="#" id="theme-toggle">Toggle Dark Mode</a>
 | 
					    <a href="#" id="theme-toggle">Toggle Dark Mode</a>
 | 
				
			||||||
    <span style="font-size: 5px;">Build date: {{ site.Params.buildDate }}</span>
 | 
					 | 
				
			||||||
    {{- end }}
 | 
					    {{- end }}
 | 
				
			||||||
</footer>
 | 
					</footer>
 | 
				
			||||||
{{- end }}
 | 
					{{- end }}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue