瀏覽代碼

Enable markdown in site description in footer

tags/2016-05-10
Mikaela Suomalainen 4 年之前
父節點
當前提交
5c4df9472f
共有 2 個檔案被更改,包括 2 行新增2 行删除
  1. +1
    -1
      _includes/footer.html
  2. +1
    -1
      _includes/head.html

+ 1
- 1
_includes/footer.html 查看文件

@@ -62,7 +62,7 @@
</div>

<div class="footer-col footer-col-3">
<p class="text">{{ site.description }}</p>
<p class="text">{{ site.description|markdownify }}</p>
</div>
</div>


+ 1
- 1
_includes/head.html 查看文件

@@ -4,7 +4,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="https://gravatar.com/avatar/2bd4ed22d7f59d1a83f5a4253d74f814.jpg">
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description | nstrip_html | strip_newlines }}{% endif %}">

<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}">
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">

Loading…
取消
儲存