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
14 changes: 13 additions & 1 deletion content/documentation/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,16 @@ insert_anchor_links = "right"
paginate_by = 5
+++

Documentation
# Documentation

Welcome to the Phel documentation. Here you'll find comprehensive guides and references for using Phel.

<div class="redirect-notice">
<p><strong>Notice:</strong> You will be automatically redirected to the <a href="/documentation/getting-started/">Getting Started</a> guide in a few seconds.</p>
</div>

<script>
setTimeout(function() {
window.location.href = "/documentation/getting-started/";
}, 3000);
</script>
26 changes: 26 additions & 0 deletions templates/section.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{% extends "base.html" %}

{% block body %}
{% include "header.html" %}

<div class="page">
{% block content %}
<div class="page__content" style="max-width: 800px; margin: 0 auto; padding: 0 20px;">
{{ section.content | safe }}

{% if section.pages %}
<ul>
{% for page in section.pages %}
<li>
<a href="{{ page.permalink }}">{{ page.title }}</a>
</li>
{% endfor %}
</ul>
{% endif %}
</div>
{% endblock %}

{% include "footer.html" %}
</div>

{% endblock body %}
Loading