~taavi/taavi.wtf

e71928aab846ccc8c4e83abc76bc13aacf6ca444 — Taavi Väänänen 1 year, 10 months ago 67969fc
mention author name in the byline
2 files changed, 8 insertions(+), 2 deletions(-)

M themes/castor/assets/css/styles.css
M themes/castor/layouts/_default/single.html
M themes/castor/assets/css/styles.css => themes/castor/assets/css/styles.css +4 -0
@@ 123,6 123,10 @@ div.img-caption {
  color: #434343;
}

.article-intro {
  margin-bottom: 1rem;
}

.footer {
  margin-top: 0.5rem;
}

M themes/castor/layouts/_default/single.html => themes/castor/layouts/_default/single.html +4 -2
@@ 2,8 2,10 @@
    <h1>{{ .Title }}</h1>

    {{ if ne (.PublishDate.Format "2006-01-02") "0001-01-01" }}
        <p class="article-meta">
            Published on <span>{{ .PublishDate.Format "January 2, 2006" }}</span>.
        <p class="article-meta article-intro">
            Published
            by <a href="/">Taavi Väänänen</a>
            on <span>{{ .PublishDate.Format "January 2, 2006" }}</span>.
        </p>
    {{ end }}