]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | <div class="post"> |
2 | <header class="post-header"> | |
3 | <h1 class="post-title">{% if include.truncate %}<a href="{{ page.url | absolute_url }}">{{ page.title }}</a>{% else %}{{ page.title }}{% endif %}</h1> | |
4 | </header> | |
5 | ||
6 | <article class="post-content"> | |
7 | {% if include.truncate %} | |
8 | {% if page.content contains '<!--truncate-->' %} | |
9 | {{ page.content | split:'<!--truncate-->' | first }} | |
10 | <div class="read-more"> | |
11 | <a href="{{ page.url | absolute_url }}" > | |
12 | ...Read More | |
13 | </a> | |
14 | </div> | |
15 | {% else %} | |
16 | {{ page.content }} | |
17 | {% endif %} | |
18 | {% else %} | |
19 | {{ content }} | |
20 | ||
1e59de90 | 21 | <p><a class="edit-page-link" href="https://github.com/{{ site.ghrepo }}/blob/main/docs/{{ page.path }}" target="_blank">Edit on GitHub</a></p> |
7c673cae FG |
22 | {% endif %} |
23 | </article> | |
24 | {% include doc_paging.html %} | |
25 | </div> |