Alternate titles for project section

This commit is contained in:
Pierre Rossi 2019-05-14 15:42:58 +02:00
parent 0ca2813a0c
commit d133420d96

View file

@ -1,5 +1,5 @@
<section class="section projects-section"> <section class="section projects-section">
<h2 class="section-title"><i class="fa {{ .Site.Params.projects.icon }}"></i>{{ i18n "projects" }}</h2> <h2 class="section-title"><i class="fa {{ .Site.Params.projects.icon }}"></i>{{ with .Site.Params.projects.title }}{{.}}{{else}}{{ i18n "projects" }}{{end}}</h2>
<div class="intro"> <div class="intro">
<p>{{ with .Site.Params.projects.intro }}{{ . | markdownify }}{{ end }}</p> <p>{{ with .Site.Params.projects.intro }}{{ . | markdownify }}{{ end }}</p>
</div><!--//intro--> </div><!--//intro-->