OSDN Git Service

[update] : 筆者についてをリンク化
authorhayao <hayao@fascode.net>
Mon, 25 Oct 2021 02:29:23 +0000 (11:29 +0900)
committerhayao <hayao@fascode.net>
Mon, 25 Oct 2021 02:29:23 +0000 (11:29 +0900)
blog/src/archetypes/default.md
blog/src/content/about.md
blog/src/content/twitter.md
blog/src/layouts/partials/authorbox.html

index ce4dc89..ef30333 100644 (file)
@@ -12,5 +12,7 @@ tags:
   - "Windows"
   - "学校"
 draft: true
+pager: true
+share: true
 ---
 
index 561c850..fc3df10 100644 (file)
@@ -4,6 +4,8 @@ date: 2021-10-17
 authorbox: false
 sidebar: false
 menu: false
+pager: false
+share: false
 ---
 
 しがない高校生。
index e80fc3b..5fa1e98 100644 (file)
@@ -4,6 +4,8 @@ date: 2021-10-20
 authorbox: false
 sidebar: false
 menu: false
+pager: false
+share: false
 ---
 
 悲しきかな、Twitter廃人は最終的に環境を快適にするために複数アカウントを持ち始める。
index 3790202..bfe597d 100644 (file)
@@ -1,24 +1,31 @@
 {{ if ne .Params.authorbox false}}
-<div class="authorbox clearfix">
-       {{- if and (not .Site.Author.avatar) (not .Site.Author.name) (not .Site.Author.bio) }}
-       <p class="authorbox__warning">
-               <strong>WARNING:</strong> Authorbox is activated, but [Author] parameters are not specified.
-       </p>
-       {{- end }}
-       {{- with .Site.Author.avatar }}
-       <figure class="authorbox__avatar">
-               <img alt="{{ $.Site.Author.name }} avatar" src="{{ $.Site.Author.avatar | relURL }}" class="avatar" height="90" width="90">
-       </figure>
-       {{- end }}
-       {{- with .Site.Author.name }}
-       <div class="authorbox__header">
-               <span class="authorbox__name">{{ T "authorbox_name" (dict "Name" .) }}</span>
+<style>
+       .authorbox-link:hover{
+               color: #000;
+       }
+</style>
+<a href="/blog/about/" class="authorbox-link">
+       <div class="authorbox clearfix">
+               {{- if and (not .Site.Author.avatar) (not .Site.Author.name) (not .Site.Author.bio) }}
+               <p class="authorbox__warning">
+                       <strong>WARNING:</strong> Authorbox is activated, but [Author] parameters are not specified.
+               </p>
+               {{- end }}
+               {{- with .Site.Author.avatar }}
+               <figure class="authorbox__avatar">
+                       <img alt="{{ $.Site.Author.name }} avatar" src="{{ $.Site.Author.avatar | relURL }}" class="avatar" height="90" width="90">
+               </figure>
+               {{- end }}
+               {{- with .Site.Author.name }}
+               <div class="authorbox__header">
+                       <span class="authorbox__name">{{ T "authorbox_name" (dict "Name" .) }}</span>
+               </div>
+               {{- end }}
+               {{- with .Site.Author.bio }}
+               <div class="authorbox__description">
+                       {{ . | markdownify }}
+               </div>
+               {{- end }}
        </div>
-       {{- end }}
-       {{- with .Site.Author.bio }}
-       <div class="authorbox__description">
-               {{ . | markdownify }}
-       </div>
-       {{- end }}
-</div>
+</a>
 {{- end }}