mirror of https://github.com/docker/docs.git
inline "body-landing" and "body" into layout
This reduces the time to build, as Jekyll doesn't have to render the body, then copy it into the layout: Production before: 62 seconds Production after: 46 seconds Development before: 35 seconds Development after: 33 seconds Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
87f40087d8
commit
d883621145
|
@ -1,8 +1,12 @@
|
|||
<!-- Page generated {{ site.time }}
|
||||
{%- if page.edit_url -%}
|
||||
{%- assign edit_url = page.edit_url -%}
|
||||
{%- else -%}
|
||||
{%- assign edit_url = "https://github.com/docker/docker.github.io/edit/master/" | append: page.path -%}
|
||||
{%- endif -%}
|
||||
{%- endif -%} -->
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
{%- include head.html -%}
|
||||
<body class="colums">
|
||||
<header>
|
||||
{% include header.html %}
|
||||
|
@ -83,3 +87,4 @@
|
|||
<script>const pageURL = "{{ page.url }}";</script>
|
||||
{%- if jekyll.environment == 'production' -%}{%- include analytics/polldaddy.html -%}{%- endif -%}
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue