浏览代码

Merge pull request #67 from raspbeguy/markdown-about

enable markdown in about section
tags/v1.0.0
Mehedi Sharif Titas 5 年前
父节点
当前提交
d8c8aef216
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      layouts/partials/about.html

+ 1
- 1
layouts/partials/about.html 查看文件

{{"<!-- Express About Yourself -->" | safeHTML}} {{"<!-- Express About Yourself -->" | safeHTML}}
<div class="content text-center"> <div class="content text-center">
{{ with .title }}<h3 class="ddd">{{ . }}</h3>{{ end }} {{ with .title }}<h3 class="ddd">{{ . }}</h3>{{ end }}
{{ with .content}} <p>{{ . }}</p>{{ end }}
{{ with .content}} <p>{{ . | markdownify }}</p>{{ end }}
</div> </div>
</div> </div>
</div> </div>

正在加载...
取消
保存