diff options
Diffstat (limited to 'site/_layouts')
-rw-r--r-- | site/_layouts/README | 12 | ||||
-rw-r--r-- | site/_layouts/base.html | 2 | ||||
-rw-r--r-- | site/_layouts/umlflowdoc.html | 18 | ||||
-rw-r--r-- | site/_layouts/umlpost.html | 3 |
4 files changed, 13 insertions, 22 deletions
diff --git a/site/_layouts/README b/site/_layouts/README new file mode 100644 index 0000000..08bcee8 --- /dev/null +++ b/site/_layouts/README @@ -0,0 +1,12 @@ +Layout hierarchy: +----------------- + +base + | + `--> withindex --> <generated sections layouts> + | + `--> agl --> page + | + `--> contribute + | + `--> blog --> post --> umlpost diff --git a/site/_layouts/base.html b/site/_layouts/base.html index db0c8c7..1ccb6b5 100644 --- a/site/_layouts/base.html +++ b/site/_layouts/base.html @@ -11,7 +11,7 @@ analytics_id: {{ site.ganalytics }} {% include algolia.html %} {% for script in layout.scripts %} - <script src="{{ site.baseurl }}/static/js/{{script}}"></script> + <script defer src="{{ site.baseurl }}/static/js/{{script}}"></script> {% endfor %} </body> diff --git a/site/_layouts/umlflowdoc.html b/site/_layouts/umlflowdoc.html deleted file mode 100644 index ba1c32e..0000000 --- a/site/_layouts/umlflowdoc.html +++ /dev/null @@ -1,18 +0,0 @@ ---- -layout: base - -scripts: - - lib/raphael-min.js - - lib/underscore-min.js - - lib/sequence-diagram-min.js - - lib/flowchart-latest.js - - process-uml.js ---- - -<div class="techdoc"> - <img class="icone" src="{{site.assets.icone}}"> - <h1>{{ page.title }}</h1> - <div class="technical-doc"> - {{ content }} - </div> -</div> diff --git a/site/_layouts/umlpost.html b/site/_layouts/umlpost.html index 9125136..dac8efe 100644 --- a/site/_layouts/umlpost.html +++ b/site/_layouts/umlpost.html @@ -77,6 +77,3 @@ scripts: </div> </div> -{% for script in layout.scripts %} - <script src="{{ site.baseurl }}/static/js/{{script}}"></script> -{% endfor %} |