From 27844c650766864aba46584e566639b79f22c0aa Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Sun, 3 Jun 2018 18:17:42 +0800 Subject: Fix Docs hash linking bug --- docs/src/layout.pug | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 docs/src/layout.pug (limited to 'docs/src/layout.pug') diff --git a/docs/src/layout.pug b/docs/src/layout.pug new file mode 100644 index 0000000..3f1e270 --- /dev/null +++ b/docs/src/layout.pug @@ -0,0 +1,39 @@ +extends _docs-layout.pug + +block variables + - var title = 'Elements - Spectre.css CSS Framework' + - var description = '' + - var current = 'elements' + +block docs-content + //- Typography + +docs-heading('typography', 'Typography') + include contents/typography.pug + + //- Tables + +docs-heading('tables', 'Tables') + include contents/tables.pug + + //- Buttons + +docs-heading('buttons', 'Buttons') + include contents/buttons.pug + + //- Forms + +docs-heading('forms', 'Forms') + include contents/forms.pug + + //- Icons + +docs-heading('icons', 'Icons') + include contents/icons.pug + + //- Labels + +docs-heading('labels', 'Labels') + include contents/labels.pug + + //- Codes + +docs-heading('code', 'Code') + include contents/code.pug + + //- Media + +docs-heading('media', 'Media') + include contents/media.pug \ No newline at end of file -- cgit v1.3.1-23-gd82d