Skip to content

Commit

Permalink
fix bug on hugo 0.18.1
Browse files Browse the repository at this point in the history
  • Loading branch information
xtfly committed Feb 11, 2017
1 parent 07c0a79 commit 04c9420
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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 @@
{{ .Date.Format "2006"}}
{{ end }} - {{ .Now.Year }}</span>
<span class="with-love"><i class="fa fa-heart"></i></span>
<span class="author" itemprop="copyrightHolder">{{ .Site.Author.Name }}</span>
<span class="author" itemprop="copyrightHolder">{{ .Site.Title }}</span>
</div>
<div class="powered-by">
Powered by - <a class="theme-link" href="http://gohugo.io" target="_blank" title="hugo" >Hugo</a>
Expand Down
4 changes: 2 additions & 2 deletions layouts/partials/sidebar/author.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
<img class="site-author-image" itemprop="image"
src="{{ .Site.Params.AuthorImg }}"
alt="{{ .Site.Author.Name }}" />
<p class="site-author-name" itemprop="name">{{ .Site.Author.Name }}</p>
alt="{{ .Site.Author.name }}" />
<p class="site-author-name" itemprop="name">{{ .Site.Author.name }}</p>
<p class="site-description motion-element" itemprop="description"> {{ with .Site.Params.Introduce }}
{{ . }}{{end}}</p>
</div>

0 comments on commit 04c9420

Please sign in to comment.