Browse Source

Update homepage footer

Track3 2 years ago
parent
commit
9e2cfc2f64
2 changed files with 6 additions and 3 deletions
  1. 5 2
      assets/scss/partials/_home.scss
  2. 1 1
      layouts/index.html

+ 5 - 2
assets/scss/partials/_home.scss

@@ -1,9 +1,12 @@
+#page.home {
+  justify-content: center;
+}
+
 #home-center {
-  flex-grow: 1;
   display: flex;
   flex-direction: column;
   justify-content: center;
-  padding: 1em 10vw;
+  padding: 0 10vw;
   font-size: 1.2em;
 }
 #home-title {

+ 1 - 1
layouts/index.html

@@ -32,7 +32,7 @@
 	</div>
 	<div id="home-footer">
 		<p>
-			&copy; {{ now.Format "2006" }} <a href="{{ .Site.BaseURL }}">{{ .Site.Author.name }}</a>
+			&copy; {{ now.Format "2006" }} <a href="{{ .Site.BaseURL }}">{{ .Site.Author.name }}</a> &vert; <a href="https://status.ojbk.im/" target="_blank" title="服务状态">Status</a>
 			{{- with (not (in (.Site.Language.Get "disableKinds") "RSS")) }} &#183; <a href="{{ "writing/index.xml" | absURL }}" target="_blank" title="rss"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-rss"><path d="M4 11a9 9 0 0 1 9 9"></path><path d="M4 4a16 16 0 0 1 16 16"></path><circle cx="5" cy="19" r="1"></circle></svg></a>{{ end }}
 		</p>
 	</div>