Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions templates/layouts/two-column-layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@
{% include "navigation/site-navigation.html" %}
</aside>
<main class="two-column-layout__content">
<span class="found-a-typo">
{% set url = config.extra.repo_content_url ~ page.relative_path %}
<a href="{{url}}">Edit me</a>
</span>
{% block editable %} {% endblock %}
{% block content %} {% endblock %}

{% include "footer.html" %}
Expand Down
1 change: 1 addition & 0 deletions templates/page-api.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<title>{{ page.title }} | {{ config.title }}</title>
<meta property="og:title" content="{{ page.title }} | {{ config.title }}" />
{% endblock meta_content %}

{% block content %}
<h1>{{page.title}}</h1>

Expand Down
8 changes: 8 additions & 0 deletions templates/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<title>{{ page.title }} | {{ config.title }}</title>
<meta property="og:title" content="{{ page.title }} | {{ config.title }}" />
{% endblock meta_content %}

{% block content %}
<h1>{{page.title}}</h1>
<aside>
Expand All @@ -15,3 +16,10 @@ <h1>{{page.title}}</h1>
</div>
</div>
{% endblock content %}

{% block editable %}
<span class="found-a-typo">
{% set url = config.extra.repo_content_url ~ page.relative_path %}
<a href="{{url}}">Edit me</a>
</span>
{% endblock editable %}
Loading