Browse Source

Github Pages Template

tags/v1.4.4
Ivan Bravo Bravo 7 months ago
parent
commit
620d0a1fb7
2 changed files with 67 additions and 1 deletions
  1. 2
    1
      _config.yml
  2. 65
    0
      _layouts/default.html

+ 2
- 1
_config.yml View File

@@ -1 +1,2 @@
theme: jekyll-theme-cayman
theme: jekyll-theme-cayman
title: DreamTime

+ 65
- 0
_layouts/default.html View File

@@ -0,0 +1,65 @@
<!DOCTYPE html>
<html lang="{{ site.lang | default: " en-US" }}">
<head>

{% if site.google_analytics %}
<script src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}" async></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', '{{ site.google_analytics }}');
</script>
{% endif %}

<!-- Fathom - simple website analytics - https://github.com/usefathom/fathom -->
<script>
(function(f, a, t, h, o, m){
a[h]=a[h]||function(){
(a[h].q=a[h].q||[]).push(arguments)
};
o=f.createElement('script'),
m=f.getElementsByTagName('script')[0];
o.async=1; o.src=t; o.id='fathom-script';
m.parentNode.insertBefore(o,m)
})(document, window, '//analytics.dreamnet.tech/tracker.js', 'fathom');
fathom('set', 'siteId', 'EQRAS');
fathom('trackPageview');
</script>
<!-- / Fathom -->

<meta charset="UTF-8">

{% seo %}
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#d67411">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<link href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}" rel="stylesheet">
</head>
<body>
<a id="skip-to-content" href="#content">Skip to the content.</a>

<header class="page-header" role="banner">
<h1 class="project-name">{{ page.title | default: site.title | default: site.github.repository_name }}</h1>
<h2 class="project-tagline">{{ page.description | default: site.description | default: site.github.project_tagline }}</h2>
{% if site.github.is_project_page %}
<a class="btn" href="{{ site.github.repository_url }}">View on GitHub</a>
{% endif %}
{% if site.show_downloads %}
<a class="btn" href="{{ site.github.zip_url }}">Download .zip</a>
<a class="btn" href="{{ site.github.tar_url }}">Download .tar.gz</a>
{% endif %}
</header>

<main class="main-content" id="content" role="main">
{{ content }}

<footer class="site-footer">
{% if site.github.is_project_page %}
<span class="site-footer-owner"><a href="{{ site.github.repository_url }}">{{ site.github.repository_name }}</a> is maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a>.</span>
{% endif %}
<span class="site-footer-credits">This page was generated by <a href="https://pages.github.com">GitHub Pages</a>.</span>
</footer>
</main>
</body>
</html>

Loading…
Cancel
Save