-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Patrick Diehl
committed
Jul 19, 2024
1 parent
5fbb4a1
commit 4214b46
Showing
84 changed files
with
4,398 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- footer start --> | ||
|
||
<footer class="site-footer"> | ||
<a class="subscribe" href="{{ "/feed.xml" | prepend: site.baseurl }}"> <span class="tooltip"> <i class="fa fa-rss"></i> Subscribe!</span></a> | ||
<div class="inner"> | ||
<section class="copyright">All content copyright <a href="mailto:{{ site.email}}">{{ site.name }}</a> © {{ site.time | date: '%Y' }} • All rights reserved.</section> | ||
<section class="poweredby">Made with <a href="http://jekyllrb.com"> Jekyll</a></section> | ||
</div> | ||
</footer> | ||
|
||
<!-- footer end --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- 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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<head> | ||
<meta charset="utf-8"> | ||
<!-- (1) Optimize for mobile versions: http://goo.gl/EOpFl --> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<!-- (1) force latest IE rendering engine: bit.ly/1c8EiC9 --> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
|
||
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title> | ||
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 200 }}{% else %}{{ site.description }}{% endif %}" /> | ||
|
||
<meta name="HandheldFriendly" content="True" /> | ||
<meta name="MobileOptimized" content="320" /> | ||
<meta name="apple-mobile-web-app-capable" content="yes"> | ||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"> | ||
{% if site.twitter_handle %} | ||
<meta name="twitter:card" content="summary" /> | ||
<meta name="twitter:site" content="{{ site.twitter_handle }}" /> | ||
<meta name="twitter:title" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}" /> | ||
<meta name="twitter:image" content="{{ site.logo | prepend: site.baseurl | prepend: site.url }}" /> | ||
{% if page.excerpt %} | ||
<meta name="twitter:description" content="{{ page.excerpt | strip_html | strip_newlines | truncate: 200 }}" /> | ||
{% elsif site.description %} | ||
<meta name="twitter:description" content="{{ site.description | strip_html | strip_newlines | truncate: 200 }}" /> | ||
{% endif %} | ||
{% endif %} | ||
|
||
<meta property="og:site_name" content="{{ site.title }}" /> | ||
<meta property="og:title" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}"/> | ||
{% if page.excerpt %} | ||
<meta property="og:description" content="{{ page.excerpt | strip_html | strip_newlines | truncate: 200 }}" /> | ||
{% elsif site.description %} | ||
<meta property="og:description" content="{{ site.description | strip_html | strip_newlines | truncate: 200 }}" /> | ||
{% endif %} | ||
<meta property="og:image" content="{% if page.image %}{{ page.image | prepend: site.baseurl | prepend: site.url }}{% else %}{{ site.logo | prepend: site.baseurl | prepend: site.url }}{% endif %}" /> | ||
<meta property="og:url" content="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}" > | ||
<meta property="og:type" content="blog" /> | ||
{% if page.date %}<meta property="article:published_time" content="{{ page.date | date_to_xmlschema }}">{% endif %} | ||
|
||
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}"/> | ||
<link rel="shortcut icon" href="{{ "/assets/images/favicon.png" | prepend: site.baseurl }}" type="image/png"/> | ||
<link rel="stylesheet" href="//brick.a.ssl.fastly.net/Linux+Libertine:400,400i,700,700i/Open+Sans:400,400i,700,700i"> | ||
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet"> | ||
|
||
<link rel="stylesheet" type="text/css" media="screen" href="{{ "/css/main.css" | prepend: site.baseurl }}" /> | ||
<link rel="stylesheet" type="text/css" media="print" href="{{ "/css/print.css" | prepend: site.baseurl }}" /> | ||
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<!-- header start --> | ||
|
||
{% if site.float_logo %} | ||
<a href="{{ site.url }}{{ site.baseurl }}" class="logo-readium"><span class="logo" style="background-image: url({{ site.logo }})"></span></a> | ||
{% endif %} | ||
<!-- header end --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<script src="https://code.jquery.com/jquery-1.11.1.min.js"></script> | ||
<script type="text/javascript" src="{{ "/assets/js/jquery.fitvids.js" | prepend: site.baseurl }}"></script> | ||
<script type="text/javascript" src="{{ "/assets/js/index.js" | prepend: site.baseurl }}"></script> | ||
<script type="text/javascript" src="{{ "/assets/js/readingTime.min.js" | prepend: site.baseurl }}"></script> | ||
<script> | ||
(function ($) { | ||
"use strict"; | ||
$(document).ready(function(){ | ||
|
||
var $window = $(window), | ||
$image = $('.post-image-image, .teaserimage-image'); | ||
|
||
$window.on('scroll', function() { | ||
var top = $window.scrollTop(); | ||
|
||
if (top < 0 || top > 1500) { return; } | ||
$image | ||
.css('transform', 'translate3d(0px, '+top/3+'px, 0px)') | ||
.css('opacity', 1-Math.max(top/700, 0)); | ||
}); | ||
$window.trigger('scroll'); | ||
|
||
var height = $('.article-image').height(); | ||
$('.post-content').css('padding-top', height + 'px'); | ||
|
||
$('a[href*=#]:not([href=#])').click(function() { | ||
if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') | ||
&& location.hostname == this.hostname) { | ||
var target = $(this.hash); | ||
target = target.length ? target : $('[name=' + this.hash.slice(1) +']'); | ||
if (target.length) { | ||
$('html,body').animate({ scrollTop: target.offset().top }, 500); | ||
return false; | ||
} | ||
} | ||
}); | ||
|
||
}); | ||
}(jQuery)); | ||
</script> | ||
{% if site.google_analytics %} | ||
{% include google_analytics.html %} | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
{% include head.html %} | ||
|
||
<body> | ||
|
||
{% include header.html %} | ||
|
||
<!-- content start --> | ||
|
||
<div class="page-content"> | ||
<div class="wrapper"> | ||
{{ content }} | ||
</div> | ||
</div> | ||
|
||
<!-- content end --> | ||
|
||
{% include footer.html %} | ||
{% include javascripts.html %} | ||
|
||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
--- | ||
--- | ||
<!DOCTYPE html> | ||
<html> | ||
{% include head.html %} | ||
<body itemscope itemtype="http://schema.org/Article"> | ||
{% include header.html %} | ||
<main class="content" role="main"> | ||
<article class="post"> | ||
{% if page.image %} | ||
<div class="article-image"> | ||
<div class="post-image-image" style="background-image: url({% if page.image %}{{ page.image }}{% endif %})"> | ||
Article Image | ||
</div> | ||
<div class="post-meta"> | ||
<h1 class="post-title">{{ page.title }}</h1> | ||
<div class="cf post-meta-text"> | ||
<div class="author-image" style="background-image: url({{ site.author_image | prepend: site.baseurl }})">Blog Logo</div> | ||
<h4 class="author-name" itemprop="author" itemscope itemtype="http://schema.org/Person">{{ site.author }}</h4> | ||
</div> | ||
<div style="text-align:center"> | ||
<a href="#topofpage" class="topofpage"><i class="fa fa-angle-down"></i></a> | ||
</div> | ||
</div> | ||
</div> | ||
{% else %} | ||
<div class="noarticleimage"> | ||
<div class="post-meta"> | ||
<h1 class="post-title">{{ page.title }}</h1> | ||
<div class="cf post-meta-text"> | ||
<div class="author-image" style="background-image: url({{ page.author_image }})">Blog Logo</div> | ||
<h4 class="author-name" itemprop="author" itemscope itemtype="http://schema.org/Person">{{ page.author }}</h4> | ||
</div> | ||
</div> | ||
</div> | ||
<br> | ||
<br> | ||
<br> | ||
{% endif %} | ||
<section class="post-content"> | ||
<a name="topofpage"></a> | ||
{{content}} | ||
</section> | ||
</article> | ||
</main> | ||
<div class="bottom-closer"> | ||
<div class="background-closer-image" {%if site.cover %} style="background-image: url({{ site.cover | prepend: site.baseurl }})"{% endif %}> | ||
Image | ||
</div> | ||
<div class="inner"> | ||
<h1 class="blog-title">{{ site.title }}</h1> | ||
<h2 class="blog-description">{{ site.description }}</h2> | ||
<a href={{ "/" | prepend: site.baseurl }} class="btn">Back to Overview</a> | ||
</div> | ||
</div> | ||
{% include javascripts.html %} | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,120 @@ | ||
--- | ||
--- | ||
<!DOCTYPE html> | ||
<html> | ||
{% include head.html %} | ||
<body itemscope itemtype="http://schema.org/Article"> | ||
{% include header.html %} | ||
<main class="content" role="main"> | ||
<article class="post"> | ||
{% if page.image %} | ||
<div class="article-image"> | ||
<div class="post-image-image" style="background-image: url({% if page.image %}{{ page.image | prepend: site.baseurl }}{% endif %})"> | ||
Article Image | ||
</div> | ||
<div class="post-image-image2" style="background-image: url({% if page.image2 %}{{ page.image2 | prepend: site.baseurl }}{% endif %})"> | ||
Article Image | ||
</div> | ||
<div class="post-meta"> | ||
<h1 class="post-title">{{ page.title }}</h1> | ||
<div class="cf post-meta-text"> | ||
<div class="author-image" style="background-image: url({{ site.author_image | prepend: site.baseurl }})">Blog Logo</div> | ||
<h4 class="author-name" itemprop="author" itemscope itemtype="http://schema.org/Person">{{ site.author }}</h4> | ||
on | ||
<time datetime="{{ page.date | date: "%F %R" }}">{{ page.date | date_to_string }}</time> | ||
<!-- , tagged on {{#foreach tags}}<span class="post-tag-{{slug}}">{{#if @first}}{{else}}, {{/if}}<a href="/tag/{{slug}}">{{name}}</a></span>{{/foreach}} --> | ||
</div> | ||
<div style="text-align:center"> | ||
<a href="#topofpage" class="topofpage"><i class="fa fa-angle-down"></i></a> | ||
</div> | ||
</div> | ||
</div> | ||
{% else %} | ||
<div class="noarticleimage"> | ||
<div class="post-meta"> | ||
<h1 class="post-title">{{ page.title }}</h1> | ||
<div class="cf post-meta-text"> | ||
<div class="author-image" style="background-image: url({{ site.author_image | prepend: site.baseurl }})">Blog Logo</div> | ||
<h4 class="author-name" itemprop="author" itemscope itemtype="http://schema.org/Person">{{ page.author }}</h4> | ||
on | ||
<time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date_to_string }}</time> | ||
<!-- , tagged on {{#foreach tags}}<span class="post-tag-{{slug}}">{{#if @first}}{{else}}, {{/if}}<a href="/tag/{{slug}}">{{name}}</a></span>{{/foreach}} --> | ||
</div> | ||
</div> | ||
</div> | ||
<br> | ||
<br> | ||
<br> | ||
{% endif %} | ||
<section class="post-content"> | ||
<div class="post-reading"> | ||
<span class="post-reading-time"></span> read | ||
</div> | ||
<a name="topofpage"></a> | ||
{{content}} | ||
</section> | ||
<footer class="post-footer"> | ||
<section class="share"> | ||
{% for social in site.social %} | ||
{% if social.share_url != null %} | ||
<a class="icon-{{ social.icon }}" href="{{ social.share_url }}{% if social.share_title %}{{ social.share_title }}{{page.title | cgi_escape}}{% endif %}{{ social.share_link }}{{site.url}}{{site.baseurl}}{{page.id}}" | ||
onclick="window.open(this.href, '{{ social.icon }}-share', 'width=550,height=255');return false;"> | ||
<i class="fa fa-{{ social.icon }}"></i><span class="hidden">{{ social.icon }}</span> | ||
</a> | ||
{% endif %} | ||
{% endfor %} | ||
</section> | ||
</footer> | ||
<div class="bottom-teaser cf"> | ||
<div class="isLeft"> | ||
<h5 class="index-headline featured"><span>Written by</span></h5> | ||
<section class="author"> | ||
<div class="author-image" style="background-image: url({{site.author_image | prepend: site.baseurl}})">Blog Logo</div> | ||
<h4>{{ site.author }}</h4> | ||
<p class="bio">{{author.bio}}</p> | ||
<hr> | ||
<p class="published">Published <time datetime="{{ page.date | date: "%F %R" }}">{{ page.date | date_to_string }}</time></p> | ||
</section> | ||
</div> | ||
{{/post}} | ||
<div class="isRight"> | ||
<h5 class="index-headline featured"><span>Supported by</span></h5> | ||
<footer class="site-footer"> | ||
<section class="poweredby">Proudly published with <a href="http://jekyllrb.com"> Jekyll</a></section> | ||
<a class="subscribe" href="{{ "/feed.xml" | prepend: site.baseurl }}"> <span class="tooltip"> <i class="fa fa-rss"></i> You should subscribe to my feed.</span></a> | ||
<div class="inner"> | ||
<section class="copyright">All content copyright <a href="{{@blog.url}}/">{{site.author}}</a> © {{ site.time | date: '%Y' }}<br>All rights reserved.</section> | ||
</div> | ||
</footer> | ||
</div> | ||
</div> | ||
{%if site.disqus %} | ||
<div id="disqus_thread"></div> | ||
<script type="text/javascript"> | ||
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */ | ||
var disqus_shortname = '{{site.disqus}}'; // required: replace example with your forum shortname | ||
|
||
/* * * DON'T EDIT BELOW THIS LINE * * */ | ||
(function() { | ||
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; | ||
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; | ||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); | ||
})(); | ||
</script> | ||
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> | ||
{% endif %} | ||
</article> | ||
</main> | ||
<div class="bottom-closer"> | ||
<div class="background-closer-image" {%if site.cover %} style="background-image: url({{ site.cover | prepend: site.baseurl }})"{% endif %}> | ||
Image | ||
</div> | ||
<div class="inner"> | ||
<h1 class="blog-title">{{ site.title }}</h1> | ||
<h2 class="blog-description">{{ site.description }}</h2> | ||
<a href={{ "/" | prepend: site.baseurl }} class="btn">Back to Overview</a> | ||
</div> | ||
</div> | ||
{% include javascripts.html %} | ||
</body> | ||
</html> |
Oops, something went wrong.