Skip to content

Commit

Permalink
add post edit link
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaocang committed Dec 28, 2018
1 parent 6db23be commit 4cbe8f9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion layout/post.swig
Expand Up @@ -5,7 +5,12 @@
{% block content %}
<header>
<h2>{{ page.title | escape }}</h2>
<p><i>{{ page.date | date("Y-m-d H:i") }}</i>{% if page.author %} • {{ page.author }}{% endif %}{% if page.meta %} • {{ page.meta }}{% endif %}</p>
<p>
<i>{{ page.date | date("Y-m-d H:i") }}</i>
{% if page.author %} • {{ page.author }}{% endif %}
{% if page.meta %} • {{ page.meta }}{% endif %}
{% if config.source_url %} • <a href="{{ config.source_url }}{{ page.source }}">编辑本页</a>{% endif %}
</p>
</header>
<article>
{{ page.content }}
Expand Down

0 comments on commit 4cbe8f9

Please sign in to comment.