Skip to content
Snippets Groups Projects
Commit ad95fc72 authored by Hugo Hörnquist's avatar Hugo Hörnquist
Browse files

Document templates.

parent 4ece6b0d
Branches
No related tags found
No related merge requests found
{#
Base full page template, which all other page templates should extend.
Blocks:
content:
Primary content of page, will be placed within the <body/> tag.
Parameters:
path_base:
Base path on which the page will be uhoetans
breadcrumbs:
An optional list of breadcrumb items.
#}
<!doctype html>
<html>
<head>
......
{#
A page containing puppet code.
Parameters:
content:
Content of page
#}
{% extends "base.html" %}
{% block content %}
<ul>
......
{#
A page containing arbitrary content, nothing is assumed of it.
Parameters:
Content:
Content of page
#}
{% extends "base.html" %}
{% block content %}{{ content }}{% endblock %}
{# ft: jinja #}
{#
Root index page for output.
Contains a list of all found modules.
Parameters:
modules:
List of modules.
#}
{% extends "base.html" %}
{% block content %}
<h1>Muppet Strings</h1>
......
{#
Index page for each module.
Parameters:
module_name:
doc_files:
content:
#}
{% extends "base.html" %}
{% block content %}
<h1>{{ module_name }}</h1>
......
{# https://www.w3.org/WAI/ARIA/apg/patterns/tabs/examples/tabs-automatic/ #}
{#
A single tabset.
A tabstep is a list of tabs, where one of them are being shown at a time.
Parameters:
tabset:
id:
tabs:
https://www.w3.org/WAI/ARIA/apg/patterns/tabs/examples/tabs-automatic/
#}
<div class="tabs" data-tabset="{{ tabset.id }}">
<menu class="yesscript"
role="tablist" >
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment