mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-26 19:15:16 +02:00
Parse Markdown in project summaries
This commit is contained in:
parent
6616d46eb3
commit
c76c5d6270
1 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@
|
||||||
{{ .Title }}
|
{{ .Title }}
|
||||||
{{ if .Content }}</a>{{ else }}{{ with .Params.external_link }}</a>{{ end }}{{ end }}
|
{{ if .Content }}</a>{{ else }}{{ with .Params.external_link }}</a>{{ end }}{{ end }}
|
||||||
</span>
|
</span>
|
||||||
{{ with .Params.summary }}<p class="project-summary">{{ . }}</p>{{ end }}
|
{{ with .Params.summary }}<p class="project-summary">{{ . | markdownify }}</p>{{ end }}
|
||||||
</li>
|
</li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
@ -65,7 +65,7 @@
|
||||||
<div class="card-text">
|
<div class="card-text">
|
||||||
<h4><a href="{{ $.Scratch.Get "project_url" }}">{{ .Title }}</a></h4>
|
<h4><a href="{{ $.Scratch.Get "project_url" }}">{{ .Title }}</a></h4>
|
||||||
<div class="card-desription">
|
<div class="card-desription">
|
||||||
{{ with $project.Params.summary }}<p>{{ . }}</p>{{ end }}
|
{{ with $project.Params.summary }}<p>{{ . | markdownify }}</p>{{ end }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue