Skip to content

Commit

Permalink
Create default.html
Browse files Browse the repository at this point in the history
  • Loading branch information
jdelaporte authored Jan 18, 2024
1 parent f43a3d6 commit 711a4f0
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<!DOCTYPE html>
<html lang="{{ page.lang | default: "en" }}" class="html" data-theme="{{ site.theme_config.appearance | default: "auto" }}">
{%- include head.html -%}
<body>
<main class="page-content" aria-label="Content">
<div class="w">
{{ content }}
{% if site.theme_config.appearance_toggle %}
{% include toggle_theme_button.html %}
{% endif %}
<div class="credits">
{%- if site.theme_config.show_copyright == true -%}
&copy;&nbsp;{{ "now" | date: "%Y" }}&nbsp;{{site.author}}
&nbsp;
&nbsp;
{%- endif -%}
{%- if site.soopr -%}
Powered by <a href="https://www.soopr.co" target="_blank" rel="noreferrer">Soopr</a>
&nbsp;
&nbsp;
{%- endif -%}
Theme&nbsp; <a href="https://github.com/abhinavs/moonwalk" target="_blank" rel="noreferrer">Moonwalk</a>
</div>
</div>
</main>

{%- if site.soopr -%}
{%- if site.soopr.publish_token and jekyll.environment == "production" -%}
<script async defer data-soopr-token="{{site.soopr.publish_token}}" src="https://sdk.soopr.co/soopr.js"></script>
{%- else -%}
<script async defer src="https://sdk.soopr.co/soopr.js"></script>
{%- endif -%}
{%- endif -%}
</body>
</html>

0 comments on commit 711a4f0

Please sign in to comment.