]> git.xn--bdkaa.com Git - xn--bdkaa.com.git/commitdiff
Add avatar and links
authorEvgenii Akentev <i@ak3n.com>
Thu, 3 Nov 2022 20:43:33 +0000 (00:43 +0400)
committerEvgenii Akentev <i@ak3n.com>
Thu, 3 Nov 2022 20:43:33 +0000 (00:43 +0400)
config.toml
themes/theme/layouts/_default/list.html
themes/theme/layouts/_default/single.html
themes/theme/layouts/index.html
themes/theme/layouts/partials/header.html
themes/theme/layouts/partials/subheader.html [new file with mode: 0644]
themes/theme/static/css/stylesheet.css
themes/theme/static/img/me_myself_i.jpg [new file with mode: 0644]

index 835a27add4727466f577255e63e23c2a2cffe787..defb561e2f7f4662b90dd5c49a3da2749e412581 100644 (file)
@@ -1,6 +1,6 @@
 baseURL = "https://ak3n.com/"
 languageCode = "en-us"
-title = "ak3n.com"
+title = "Evgenii Akentev"
 theme = "theme"
 
 [taxonomies]
index b9f855a730eaaa6eb9fb9d7696d434d0bf846e61..cbe0968cb3a794a3798929892aaf53eb03ad6d76 100644 (file)
@@ -1,5 +1,7 @@
 {{ partial "header.html" . }}
 
+{{ partial "subheader.html" . }}
+
 <p>Posts tagged "{{ .Title }}":</p>
 
 <section>
index b2ef453d97b6d00e22e910fac1d4945f9149e634..c6a3071f0a7d5f7ad4092b6f677955b4afd16ef3 100644 (file)
@@ -1,5 +1,7 @@
 {{ partial "header.html" . }}
 
+{{ partial "subheader.html" . }}
+
 <section class="blog-post">
     <h1>{{ .Title }}</h1>
     <div class="blog-post-subheader">
@@ -14,7 +16,7 @@
         {{ partial "headline.html" .Content }}
     </div>
     <div class="blog-post-feedback">
-        If you have a comment or feedback you may <a href="mailto:~ak3n/ak3n.com@lists.sr.ht">send an email</a> to <a href="https://lists.sr.ht/~ak3n/ak3n.com">~ak3n/ak3n.com@lists.sr.ht</a>.
+        If you have a comment or feedback you may <a href="mailto:i@ak3n.com">say hi</a>.
     </div>
 </section>
 
index 8f375a6747024fbb69c2775dd84558291d91687c..e271633eb918019f5552ec42a781351cf16b5903 100644 (file)
@@ -1,4 +1,17 @@
 {{ partial "header.html" . }}
+<section>
+  <div class="center">
+    <img class="avatar" src="/img/me_myself_i.jpg" alt="Me, Myself, I"/>
+  </div>
+
+  <section id="info" class="center">
+    <ul>
+      <li><a href="https://twitter.com/ak3n">twitter</a></li>
+      <li><a href="https://git.ak3n.com/">code</a></li>
+      <li><a href="mailto:i@ak3n.com">say hi</a></li>
+    </ul>
+  </section>
+</section>
 
 <section id="dashboard">
   <ul>
index 6f4d0599ff3d59838f4d26c53885836513de380b..0f6d9289cd64f2f6911b52dca1ca493b2f080570 100644 (file)
@@ -8,7 +8,4 @@
         <link rel="stylesheet" href="/css/syntax.css">
     </head>
     <body>
-        <section id="page-title">
-            <h1><a href="/">¯\_(ツ)_/¯</a></h1>
-        </section>
 
diff --git a/themes/theme/layouts/partials/subheader.html b/themes/theme/layouts/partials/subheader.html
new file mode 100644 (file)
index 0000000..ef7445c
--- /dev/null
@@ -0,0 +1,3 @@
+<section id="page-title" class="center">
+    <h1><a href="/">¯\_(ツ)_/¯</a></h1>
+</section>
index 87d4ec7974d04119b610c9c58be32e4e7dcbe3d0..aca76c7721edda9c0a418c4f0972e31bc733924c 100644 (file)
@@ -5,7 +5,7 @@ body {
     max-width: 50em;
 }
 
-#page-title {
+.center {
     text-align: center;
 }
 
@@ -17,6 +17,18 @@ a {
     text-decoration: none;
 }
 
+#info ul {
+    margin-top: 1em;
+    padding: 0;
+    list-style-type: none;
+}
+
+#info ul li {
+    margin-left: 1em;
+    margin-right: 1em;
+    display: inline;
+}
+
 #dashboard ul {
   list-style-type: none;
 }
@@ -128,4 +140,10 @@ h1:hover a,
 h2:hover a,
 h3:hover a,
 h4:hover a,
-h5:hover a { visibility: visible }
\ No newline at end of file
+h5:hover a { visibility: visible }
+
+img.avatar {
+    margin-top: 2em;
+    border-radius: 50%;
+    width: 200px;
+}
\ No newline at end of file
diff --git a/themes/theme/static/img/me_myself_i.jpg b/themes/theme/static/img/me_myself_i.jpg
new file mode 100644 (file)
index 0000000..fe87eea
Binary files /dev/null and b/themes/theme/static/img/me_myself_i.jpg differ