Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{{ partial "head.html" . }}
<body>
{{ partial "header.html" . }}
<section id="wrapper" {{ if eq .File.Dir "about/" }} class="bio" {{ end }}>
<section id="wrapper">
{{ block "main" . }}{{ end }}
</section>
{{ partial "footer.html" . }}
Expand Down
6 changes: 3 additions & 3 deletions layouts/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ <h1 class="p-name">{{ .Title }}</h1>
</article>
<section id="post-meta" class="clearfix">
<a href="/">
<img class="u-photo avatar" src="{{ .Site.Author.avatar }}" width="96" height="96">
<img class="u-photo avatar" src="{{ .Site.Params.author.avatar }}" width="96" height="96">
<div>
<span class="p-author h-card dark">{{ .Site.Author.name }}</span>
<span><a href="https://micro.blog/{{ .Site.Author.username }}">@{{ .Site.Author.username }}</a></span>
<span class="p-author h-card dark">{{ .Site.Params.author.name }}</span>
<span><a href="https://micro.blog/{{ .Site.Params.author.username }}">@{{ .Site.Params.author.username }}</a></span>
</div>
</a>
</section>
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<ul>
<li><a href="/feed.xml">RSS</a></li>
<li><a href="/feed.json">JSON Feed</a></li>
<li><a href="https://micro.blog/{{ .Site.Author.username }}" rel="me">Micro.blog</a></li>
<li><a href="https://micro.blog/{{ .Site.Params.author.username }}" rel="me">Micro.blog</a></li>
<!-- <li><a class="u-email" href="mailto:" rel="me">Email</a></li> -->
</ul>
<form method="get" id="search" action="https://duckduckgo.com/">
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta content="{{ .Site.Author.name }}" name="author">
<meta content="{{ .Site.Params.author.name }}" name="author">

<title>
{{- block "title" . -}}
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/navigation.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
{{ end }}
{{ end }}

<a class="cta" href="https://micro.blog/{{ .Site.Author.username }}" rel="me">Also on Micro.blog</a>
<a class="cta" href="https://micro.blog/{{ .Site.Params.author.username }}" rel="me">Also on Micro.blog</a>
</nav>
4 changes: 2 additions & 2 deletions layouts/partials/profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<section id="wrapper">
<header class="h-card">
<a class="u-url" href="/about/">
<img id="avatar" class="u-photo" src="{{ .Site.Author.avatar }}" width="96" height="96" />
<img id="avatar" class="u-photo" src="{{ .Site.Params.author.avatar }}" width="96" height="96" />
</a>
<h1 class="p-name" rel="me">{{ .Site.Author.name }}</h1>
<h1 class="p-name" rel="me">{{ .Site.Params.author.name }}</h1>
<h4 class="p-role">{{ .Site.Params.description | safeHTML }}</h4>
</header>
</section>
Expand Down
6 changes: 3 additions & 3 deletions layouts/post/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ <h2 class="headline">
<span><a href="https://micro.blog/{{ .Params.author.username }}">@{{ .Params.author.username }}</a></span>
</div>
{{ else }}
<img class="u-photo avatar" src="{{ .Site.Author.avatar }}" width="96" height="96">
<img class="u-photo avatar" src="{{ .Site.Params.author.avatar }}" width="96" height="96">
<div>
<span class="p-name dark">{{ .Site.Author.name }}</span>
<span><a href="https://micro.blog/{{ .Site.Author.username }}">@{{ .Site.Author.username }}</a></span>
<span class="p-name dark">{{ .Site.Params.author.name }}</span>
<span><a href="https://micro.blog/{{ .Site.Params.author.username }}">@{{ .Site.Params.author.username }}</a></span>
</div>
{{ end }}
</a>
Expand Down
6 changes: 3 additions & 3 deletions layouts/reply/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ <h2 class="headline">
</article>
<section id="post-meta" class="clearfix">
<a href="/">
<img class="u-photo avatar" src="{{ .Site.Author.avatar }}" width="96" height="96">
<img class="u-photo avatar" src="{{ .Site.Params.author.avatar }}" width="96" height="96">
<div>
<span class="p-author h-card dark">{{ .Site.Author.name }}</span>
<span><a href="https://micro.blog/{{ .Site.Author.username }}">@{{ .Site.Author.username }}</a></span>
<span class="p-author h-card dark">{{ .Site.Params.author.name }}</span>
<span><a href="https://micro.blog/{{ .Site.Params.author.username }}">@{{ .Site.Params.author.username }}</a></span>
</div>
</a>
</section>
Expand Down
8 changes: 0 additions & 8 deletions static/assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,6 @@ body {
font-weight: 400;
}

.bio p:first-child {
margin-top: 0;
}

.bio li {
list-style-position: outside;
}

/* Nav */

nav.main-nav {
Expand Down