<section class="section">
<div class="container">
- <div class="columns">
- <div class="column is-three-quarters-widescreen">
- <div class="content">
- {% raw page.html %}
- </div>
+ <div class="content">
+ {% raw page.html %}
+ </div>
- <hr>
+ <hr>
- <div class="block">
- <a class="button is-primary is-fullwidth" href="{{ os.path.join(request.path, "_edit") }}">
- <span class="icon-text">
- <span class="icon">
- <i class="fas fa-edit"></i>
- </span>
- <span>
- {{ _("Edit Page") }}
- {% if not current_user %}‐ {{ _("Yes, you can edit!") }}{% end %}
- </span>
- </span>
- </a>
- </div>
-
- <div class="block">
- <small>
- <div class="level">
- <div class="level-left">
- {% if current_user %}
- {% if page.is_watched_by(current_user) %}
- <a class="level-item" href="{{ os.path.join(page.url, "_unwatch") }}">
- <i class="fas fa-star" title="{{ _("Stop watching this page") }}"></i>
- </a>
- {% else %}
- <a class="level-item" href="{{ os.path.join(page.url, "_watch") }}">
- <i class="far fa-star" title="{{ _("Watch this page") }}"></i>
- </a>
- {% end %}
- {% end %}
+ <div class="block">
+ <a class="button is-primary is-fullwidth" href="{{ os.path.join(request.path, "_edit") }}">
+ <span class="icon-text">
+ <span class="icon">
+ <i class="fas fa-edit"></i>
+ </span>
+ <span>
+ {{ _("Edit Page") }}
+ {% if not current_user %}‐ {{ _("Yes, you can edit!") }}{% end %}
+ </span>
+ </span>
+ </a>
+ </div>
- <a class="level-item" href="{% if page.author %}/users/{{ page.author.uid }}{% else %}#{% end %}">
- {{ _("Last changed by %(author)s, %(when)s") % {
- "author" : page.author or _("an unknown author"),
- "when" : locale.format_date(page.timestamp, shorter=True),
- } }}
+ <div class="block">
+ <small>
+ <div class="level">
+ <div class="level-left">
+ {% if current_user %}
+ {% if page.is_watched_by(current_user) %}
+ <a class="level-item" href="{{ os.path.join(page.url, "_unwatch") }}">
+ <i class="fas fa-star" title="{{ _("Stop watching this page") }}"></i>
</a>
-
- <a class="level-item" href="{{ request.path }}?action=revisions">
- {{ _("View Older Revisions") }}
+ {% else %}
+ <a class="level-item" href="{{ os.path.join(page.url, "_watch") }}">
+ <i class="far fa-star" title="{{ _("Watch this page") }}"></i>
</a>
- </div>
- </div>
- </small>
+ {% end %}
+ {% end %}
+
+ <a class="level-item" href="{% if page.author %}/users/{{ page.author.uid }}{% else %}#{% end %}">
+ {{ _("Last changed by %(author)s, %(when)s") % {
+ "author" : page.author or _("an unknown author"),
+ "when" : locale.format_date(page.timestamp, shorter=True),
+ } }}
+ </a>
+
+ <a class="level-item" href="{{ request.path }}?action=revisions">
+ {{ _("View Older Revisions") }}
+ </a>
+ </div>
</div>
- </div>
+ </small>
</div>
</div>
</section>