Make html indentation consistent

This commit is contained in:
Kyle Gordy 2019-11-12 12:39:33 -05:00
parent 8a27a7c1d5
commit 06eb4e42b4
6 changed files with 62 additions and 63 deletions

View File

@ -4,22 +4,23 @@ layout: default
---
<style type="text/css" media="screen">
.container {
margin: 10px auto;
max-width: 600px;
text-align: center;
}
h1 {
margin: 30px 0;
font-size: 4em;
line-height: 1;
letter-spacing: -1px;
}
.container {
margin: 10px auto;
max-width: 600px;
text-align: center;
}
h1 {
margin: 30px 0;
font-size: 4em;
line-height: 1;
letter-spacing: -1px;
}
</style>
<div class="container">
<h1>404</h1>
<h1>404</h1>
<p><strong>Page not found :(</strong></p>
<p>The requested page could not be found.</p>
<p><strong>Page not found :(</strong></p>
<p>The requested page could not be found.</p>
</div>

View File

@ -1,12 +1,11 @@
<script>
if(!(window.doNotTrack === "1" || navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1")) {
(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','https://www.google-analytics.com/analytics.js','ga');
if(!(window.doNotTrack === "1" || navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1")) {
(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','https://www.google-analytics.com/analytics.js','ga');
ga('create', '{{ site.google_analytics }}', 'auto');
ga('send', 'pageview');
}
ga('create', '{{ site.google_analytics }}', 'auto');
ga('send', 'pageview');
}
</script>

View File

@ -1,11 +1,11 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
{%- seo -%}
<link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}">
{%- feed_meta -%}
{%- if jekyll.environment == 'production' and site.google_analytics -%}
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
{%- seo -%}
<link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}">
{%- feed_meta -%}
{%- if jekyll.environment == 'production' and site.google_analytics -%}
{%- include google-analytics.html -%}
{%- endif -%}
{%- endif -%}
</head>

View File

@ -1,16 +1,14 @@
<!DOCTYPE html>
<html lang="{{ page.lang | default: site.lang | default: "en" }}">
{%- include head.html -%}
<body>
{%- include header.html -%}
{%- include head.html -%}
<main id="main-content" aria-label="Content">
{{ content }}
</main>
<body>
{%- include header.html -%}
<main id="main-content" aria-label="Content">
{{ content }}
</main>
{%- include footer.html -%}
{% include js.html %}
</body>
{%- include footer.html -%}
{% include js.html %}
</body>
</html>

View File

@ -3,12 +3,12 @@ layout: default
---
<article>
<header>
<h1>{{ page.title | escape }}</h1>
</header>
<header>
<h1>{{ page.title | escape }}</h1>
</header>
<div>
{{ content }}
</div>
<div>
{{ content }}
</div>
</article>

View File

@ -3,23 +3,24 @@ layout: default
---
<article itemscope itemtype="http://schema.org/BlogPosting">
<header>
<h1 itemprop="name headline">{{ page.title | escape }}</h1>
<header>
<h1 itemprop="name headline">{{ page.title | escape }}</h1>
<p>
<time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
{{ page.date | date: date_format }}
</time>
<p>
<time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
{{ page.date | date: date_format }}
</time>
{%- if page.author -%}
<span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">{{ page.author }}</span></span>
{%- endif -%}</p>
</header>
{%- if page.author -%}
<span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">{{ page.author }}</span></span>
{%- endif -%}
</p>
</header>
<div itemprop="articleBody">
{{ content }}
</div>
<div itemprop="articleBody">
{{ content }}
</div>
<a href="{{ page.url | relative_url }}" hidden></a>
<a href="{{ page.url | relative_url }}" hidden></a>
</article>