A human-friendly DSL for ATProto Lexicons
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 62 lines 1.9 kB view raw
1{% extends "base.html" %} 2 3{% block title %}{{ section.title }} - {{ config.title }}{% endblock %} 4 5{% block content %} 6<article class="doc-page"> 7 <div class="container"> 8 {% if section.path is containing("docs") %} 9 <div class="doc-layout"> 10 <aside class="doc-sidebar"> 11 <nav class="doc-nav"> 12 <h3>Documentation</h3> 13 <ul> 14 {% for page in section.pages %} 15 <li> 16 <a href="{{ page.permalink }}"> 17 {{ page.title }} 18 </a> 19 </li> 20 {% endfor %} 21 </ul> 22 </nav> 23 </aside> 24 25 <div class="doc-main"> 26 <h1>{{ section.title }}</h1> 27 {% if section.description %} 28 <p class="lead">{{ section.description }}</p> 29 {% endif %} 30 31 {% if section.content %} 32 <div class="doc-content"> 33 {{ section.content | safe }} 34 </div> 35 {% endif %} 36 </div> 37 </div> 38 {% else %} 39 <h1>{{ section.title }}</h1> 40 41 {% if section.pages %} 42 <div class="docs-list"> 43 {% for page in section.pages %} 44 <a href="{{ page.permalink }}" class="doc-item"> 45 <h3>{{ page.title }}</h3> 46 {% if page.description %} 47 <p>{{ page.description }}</p> 48 {% endif %} 49 </a> 50 {% endfor %} 51 </div> 52 {% endif %} 53 54 {% if section.content %} 55 <div class="doc-content"> 56 {{ section.content | safe }} 57 </div> 58 {% endif %} 59 {% endif %} 60 </div> 61</article> 62{% endblock %}