Browse Source

Added more markdown support

master
digitalcraftsman 10 years ago
parent
commit
fd3a5bc179
  1. 2
      layouts/partials/footer.html
  2. 2
      layouts/partials/profile.html

2
layouts/partials/footer.html

@ -1,6 +1,6 @@
<footer id="footer"> <footer id="footer">
<p class="small">{{ with .Site.Params.copyright }} <p class="small">{{ with .Site.Params.copyright }}
{{ . }}
{{ . | markdownify }}
{{ else }} {{ else }}
© Copyright {{.Now.Format "2006"}} {{ .Site.Params.name }} © Copyright {{.Now.Format "2006"}} {{ .Site.Params.name }}
{{ end }}</p> {{ end }}</p>

2
layouts/partials/profile.html

@ -5,7 +5,7 @@
<img id="avatar" class="2x" src="{{ .Site.BaseURL }}images/avatar.png"/> <img id="avatar" class="2x" src="{{ .Site.BaseURL }}images/avatar.png"/>
</a> </a>
<h1>{{ .Site.Params.name }}</h1> <h1>{{ .Site.Params.name }}</h1>
<h2>{{ .Site.Params.bio }}</h2>
<h2>{{ .Site.Params.bio | markdownify }}</h2>
</header> </header>
</section> </section>
</div> </div>
Loading…
Cancel
Save