Skip to content

Instantly share code, notes, and snippets.

@lukas-h
Created June 4, 2017 19:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lukas-h/ab8e997dbaa0e13b9c884d4570d9d7c7 to your computer and use it in GitHub Desktop.
Save lukas-h/ab8e997dbaa0e13b9c884d4570d9d7c7 to your computer and use it in GitHub Desktop.
AMP default layout jekyll
---
layout: compress
---
<!doctype html>
<html ⚡ lang="en">
<head>
{% include head.html %}
</head>
<body>
{% include header.html %}
<div class="container row content">
<main role="main">
{% assign pagecontent = content %}
{% for replacement in site.replacements %}
{% assign pagecontent = pagecontent | replace: replacement[0], replacement[1] %}
{% endfor %}
{{ pagecontent }}
</main>
</div>
{% include footer.html %}
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment