diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2020-03-02 23:54:46 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2020-03-02 23:54:46 +0100 |
commit | ac3e7e494669f6f923cb240f03d974efc6c84899 (patch) | |
tree | e9d9b0415c5a6906839080b44960b6629d687ad5 /src/Documentation | |
parent | 74c6a06b4b664328e7a2d7e2de4474df28202429 (diff) | |
download | site-ac3e7e494669f6f923cb240f03d974efc6c84899.tar.gz site-ac3e7e494669f6f923cb240f03d974efc6c84899.zip |
Migrate website to my own static site generator
Diffstat (limited to 'src/Documentation')
-rw-r--r-- | src/Documentation/Association/index.md | 0 | ||||
-rw-r--r-- | src/Documentation/Technique/index.md | 0 | ||||
-rw-r--r-- | src/Documentation/_markdown.pug | 22 | ||||
-rw-r--r-- | src/Documentation/index.md | 1 |
4 files changed, 23 insertions, 0 deletions
diff --git a/src/Documentation/Association/index.md b/src/Documentation/Association/index.md new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/src/Documentation/Association/index.md diff --git a/src/Documentation/Technique/index.md b/src/Documentation/Technique/index.md new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/src/Documentation/Technique/index.md diff --git a/src/Documentation/_markdown.pug b/src/Documentation/_markdown.pug new file mode 100644 index 0000000..ea23f15 --- /dev/null +++ b/src/Documentation/_markdown.pug @@ -0,0 +1,22 @@ +extends ../_layout.pug + +prepend root + - title = element.nice_path[element.nice_path.length - 1] + +mixin menu(o) + ul + each val in o.children + - if (val.type == 'folder') + li + a(href=val.url)= val.nice_name + +menu(val) + +block content + .container.spacing + nav + strong + a(href="/Documentation") Documentation + +menu(root.children.find(e => e.nice_name == "Documentation")) + + main.spacing + != markdown diff --git a/src/Documentation/index.md b/src/Documentation/index.md new file mode 100644 index 0000000..cd99fca --- /dev/null +++ b/src/Documentation/index.md @@ -0,0 +1 @@ +# hello ! |