This repository has been archived by the owner. It is now read-only.
Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
webdesign_platform/src/pug/chapter01.pug
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
120 lines (116 sloc)
4.15 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extends base/layout | |
include components/header | |
include components/content/intro | |
include components/content/image | |
include components/content/link | |
include components/content/project-teaser | |
include components/content/accordion | |
include components/content/tabs | |
include components/content/filtre | |
include components/content/authorinfo | |
include components/content/navigation | |
include components/content/infobox | |
block page-title | |
title EOA Templates | Unnumbered document structure | |
block page-content | |
+header('../assets/images/icons/logo.png') | |
- | |
var breadItems = [ | |
{ | |
title : 'Home', | |
url : 'index.html' | |
}, | |
{ | |
title : 'Editions', | |
url : 'series_single.html' | |
}, | |
{ | |
title : 'Edition 8', | |
url : 'landingpage.html' | |
} | |
]; | |
+breadcrumbs(breadItems, 'Unnumbered document structure') | |
main.main.publications.publications2 | |
.container | |
.main-content | |
p | |
| █ | |
| | |
| | |
a(href="chapter02.html" title="Document structure") █ | |
| | |
| | |
a(href="chapter03.html" title="Markup") █ | |
| | |
| | |
a(href="chapter04.html" title="LaTeX specifics") █ | |
| | |
| | |
a(href="chapter05.html" title="References and indices") █ | |
| | |
| | |
a(href="chapter06.html" title="Floating environments") █ | |
| | |
| | |
a(href="chapter07.html" title="Formulas") █ | |
| | |
| | |
a(href="chapter08.html" title="Facsimiles") █ | |
| | |
| | |
a(href="chapter09.html" title="Transcription and Translation") █ | |
| | |
| | |
a(href="chapter10.html" title="Facsimile and Text") █ | |
| | |
| | |
a(href="chapter11.html" title="Letters") █ | |
| | |
| | |
a(href="chapter12.html" title="References") █ | |
| | |
| | |
a(href="facsimilepage.html" title="Facsimile page") █ | |
| | |
| | |
a(href="facsimilepageenhanced.html" title="Enhanced Facsimile page") █ | |
.navigation | |
a(href="chapter02.html").navigation__button.navigation__button--next 1 Document structure | |
section.publications__titleauthor | |
.row(id='chaptertitle') | |
h1.publication-detail__title Unnumbered <em>document</em> structure | |
section.publications__overview | |
+link('#', 'Download Chapter', 'link--green', 'link__label--outer') | |
section.publication-detail | |
+accordion | |
.accordion__main | |
.row(id='2') | |
.flags | |
+infobox | |
p.publication-detail__main-paragraph | |
| Chapter, section and subsection can also be used without numbers. Do you see the slight changes in the layout? Also, the counter is not incremented. This can be used for forewords or introductions. | |
a(href="#").accordion__showall.show Close All | |
+publications-accordion-item( | |
'Section without numbers', | |
'This the first section of a text. It is preceded by two hierarchical units, namely Part and Chapter. As you can see above, the chapter command has two arguments, the first one being the running head which is displayed in the header of each page. Structure your text wisely. ', | |
'active', | |
true, | |
['3', '4'] | |
) | |
.row(id='5') | |
.flags | |
+infobox | |
p | |
| Now, a running head only makes sense if your chapter spreads across several pages. | |
.row(id='6') | |
.flags | |
+infobox | |
h4 Subsection without numbers | |
.row(id='7') | |
.flags | |
+infobox | |
p | |
| Here we are at an even lower hierarchical level. This can be quite useful. Be aware that this level is not being displayed in the table of contents. | |
a(href="#").accordion__pageup | |
.navigation | |
a(href="chapter02.html").navigation__button.navigation__button--next 1 Document structure |