Skip to content

Commit

Permalink
レイアウト修正
Browse files Browse the repository at this point in the history
  • Loading branch information
gosyujin committed Apr 16, 2019
1 parent ab98801 commit 16e5b26
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 5 additions & 2 deletions layouts/_default/single.html
Expand Up @@ -22,11 +22,14 @@
<div class="h2 mt-3 mb-1">{{ .Title }}</div>
</div>
<div class="Subhead-description">
<div class="float-md-right">
<div class="float-md-left">
{{ partial "social.html" . }}
</div>
<div class="float-md-right">
Tags: {{ partial "taxonomy.html" . }}
Published: <span>{{ .Date.Format "2006/01/02" }}</span>
</div>
</div>
</div>
</div>

{{ partial "toc.html" . }}
Expand Down
3 changes: 2 additions & 1 deletion layouts/partials/taxonomy.html
@@ -1,7 +1,8 @@
<!-- tags -->
{{ $baseURL := .Site.BaseURL }}
{{ with .Params.Tags }}
{{ range . }}
<a href='{{ .BaseURL }}{{ "/tags/" | relLangURL }}{{ . | urlize }}' class="muted-link">
<a href='{{ $baseURL }}{{ "/tags/" | relLangURL }}{{ . | urlize }}' class="muted-link">
[ <span class="Label Label--gray">{{ . }}</span> ]
</a>
{{ end }}
Expand Down

0 comments on commit 16e5b26

Please sign in to comment.