Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
83 lines (79 sloc) 3.57 KB
<!doctype html>
<html lang="{{ site.lang | default: "en-US" }}">
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests;">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>{% if page.category %}{{page.category}}: {% endif %}{{page.title}} | {{site.title}}</title>
{% seo %}
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="{{ '/assets/js/lazysizes.min.js' | relative_url }}"></script>
<script src="{{ '/assets/js/main.js' | relative_url }}"></script>
<script src="{{ '/assets/js/scale.fix.js' | relative_url }}"></script>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-6840725055844211",
enable_page_level_ads: true
});
</script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-75657334-4"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-75657334-4');
</script>
</head>
<body>
<div class="wrapper">
<header>
<h1 class="header"><a href="/">{{ site.title | default: site.github.repository_name }}</a></h1>
<p class="header">{{ site.description | default: site.github.project_tagline }}</p>
{% if page.category %}
<hr>
{% assign sorted_posts = site.categories[page.category] | sort: date %}
<ul>
{% for post in sorted_posts %}
{% assign current = nil %}
{% if page.title == post.title %}
{% assign current = "current" %}
{% endif %}
<li><a href="{{ site.baseurl }}{{ post.url }}" class="{{ current }}">{{ post.title }}</a></li>
{% endfor %}
</ul>
{% endif %}
<p id="stackoverflowflair">
<a href="https://stackoverflow.com/users/1202807/gabriel-luci">
<img src="https://stackoverflow.com/users/flair/1202807.png" width="208" height="58" alt="profile for Gabriel Luci at Stack Overflow, Q&amp;A for professional and enthusiast programmers" title="profile for Gabriel Luci at Stack Overflow, Q&amp;A for professional and enthusiast programmers">
</a>
</p>
</header>
<section>
{{ content }}
{% if page.comments == true %}
{% include comments.html %}
{% endif %}
</section>
<footer>
</footer>
</div>
<!--[if !IE]><script>fixScale(document);</script><![endif]-->
{% if site.google_analytics %}
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', '{{ site.google_analytics }}', 'auto');
ga('send', 'pageview');
</script>
{% endif %}
</body>
</html>