forked from asciidoctor/asciidoctor.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocs.html.slim
39 lines (39 loc) · 1.74 KB
/
docs.html.slim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
---
layout: base
---
header
.row
.large-12.columns
h1=page.title
- if page.leadin
p.description=page.leadin
.row
.large-4.columns
ul.button-group.toolbar style='margin-bottom: -0.3333em'
li: a.tiny.secondary.button.toggle-navigation href='#'
i.fa.fa-toggle-on
i.fa.fa-toggle-off
|Nav
li: span.separator
li: a.tiny.secondary.button href="https://github.com/asciidoctor/asciidoctor.org/edit/master#{page.relative_source_path}" Edit
li: a.tiny.secondary.button href="https://github.com/asciidoctor/asciidoctor.org/raw/master#{page.relative_source_path}" Raw
li: a.tiny.secondary.button href="https://github.com/asciidoctor/asciidoctor.org/commits/master#{page.relative_source_path}" History
li
- if document.attr? 'uri-project-repo'
a href=(document.attr 'uri-project-repo') title='Project Repository': i.fa.fa-github.fa-fw
- elsif document.attr? 'url-project-repo'
a href=(document.attr 'url-project-repo') title='Project Repository': i.fa.fa-github.fa-fw
- else
i.fa.fa-github.fa-fw
- if page.url =~ /^\/docs\/asciidoc-syntax-quick-reference/
li: a href='/docs/asciidoc-syntax-quick-reference.pdf' style='text-decoration: none' title='Download PDF': i.fa.fa-file-text-alt.fa-fw
- if page.url =~ /^\/docs\/asciidoc-writers-guide/
li: a href='/docs/asciidoc-writers-guide.pdf' style='text-decoration: none' title='Download PDF': i.fa.fa-file-text-alt.fa-fw
.row
.large-4.columns.secondary.navigation
div id='toc' class='toc'
.title id='toctitle' =document.attr 'toc-title'
=document.converter.convert document, 'outline', toclevels: 3
.large-8.columns.content
#content
=content