cleaning up some serious shieeet

This commit is contained in:
Set Hallstrom 2019-04-24 18:56:12 +02:00
parent 08624a4566
commit 9a4285bd8c
23 changed files with 60 additions and 281 deletions

View file

@ -1,55 +0,0 @@
{% comment %}<!--
Collate_posts helper. Collated posts by year and month.
Usage:
1) assign the 'posts_collate' variable to a valid array of posts.
2) include JB/posts_collate
example:
{% assign posts_collate = site.posts %}
{% include JB/posts_collate %}
Ordering:
Posts are displayed in reverse chronological order.
For normal chronological order:
1) Change the for loop to this:
=> 'for post in site.posts reversed'
2) Next make sure to change 'post.previous.date' to:
=> 'post.next.date'
-->{% endcomment %}
{% if site.JB.posts_collate.provider == "custom" %}
{% include custom/posts_collate %}
{% else %}
{% for post in posts_collate %}
{% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %}
{% capture this_month %}{{ post.date | date: "%B" }}{% endcapture %}
{% capture next_year %}{{ post.previous.date | date: "%Y" }}{% endcapture %}
{% capture next_month %}{{ post.previous.date | date: "%B" }}{% endcapture %}
{% if forloop.first %}
<h1><strong>{{this_year}}</strong></h1>
<p>{{this_month}}</p>
<ul>
{% endif %}
<li><a href="{{ BASE_PATH }}{{ post.url }}">{{ post.title }}</a></li>
{% if forloop.last %}
</ul>
{% else %}
{% if this_year != next_year %}
</ul>
<h1><strong>{{next_year}}</strong></h1>
<p><strong>{{next_month}}</strong></p>
<ul>
{% else %}
{% if this_month != next_month %}
</ul>
<p><strong>{{next_month}}</strong></p>
<ul>
{% endif %}
{% endif %}
{% endif %}
{% endfor %}
{% endif %}
{% assign posts_collate = nil %}

View file

@ -1,55 +0,0 @@
{% comment %}<!--
Collate_posts helper. Collated posts by year and month.
Usage:
1) assign the 'posts_collate' variable to a valid array of posts.
2) include JB/posts_collate
example:
{% assign posts_collate = site.posts %}
{% include JB/posts_collate %}
Ordering:
Posts are displayed in reverse chronological order.
For normal chronological order:
1) Change the for loop to this:
=> 'for post in site.posts reversed'
2) Next make sure to change 'post.previous.date' to:
=> 'post.next.date'
-->{% endcomment %}
{% if site.JB.posts_collate.provider == "custom" %}
{% include custom/posts_collate %}
{% else %}
{% for post in posts_collate %}
{% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %}
{% capture this_month %}{{ post.date | date: "%B" }}{% endcapture %}
{% capture next_year %}{{ post.previous.date | date: "%Y" }}{% endcapture %}
{% capture next_month %}{{ post.previous.date | date: "%B" }}{% endcapture %}
{% if forloop.first %}
<h1><strong>{{this_year}}</strong></h1>
<p>{{this_month}}</p>
<ul>
{% endif %}
<li><a href="{{ BASE_PATH }}{{ post.url }}">{{ post.title }}</a></li>
{% if forloop.last %}
</ul>
{% else %}
{% if this_year != next_year %}
</ul>
<p><strong>{{next_year}}</strong></p>
<p><strong>{{next_month}}</strong></p>
<ul>
{% else %}
{% if this_month != next_month %}
</ul>
<p><strong>{{next_month}}</strong></p>
<ul>
{% endif %}
{% endif %}
{% endif %}
{% endfor %}
{% endif %}
{% assign posts_collate = nil %}

View file

@ -1,22 +0,0 @@
{% capture jbcache %}
<!--
- Dynamically set liquid variables for working with URLs/paths
-->
{% if site.JB.setup.provider == "custom" %}
{% include custom/setup %}
{% else %}
{% if site.safe and site.JB.BASE_PATH and site.JB.BASE_PATH != '' %}
{% assign BASE_PATH = site.JB.BASE_PATH %}
{% assign HOME_PATH = site.JB.BASE_PATH %}
{% else %}
{% assign BASE_PATH = nil %}
{% assign HOME_PATH = "/" %}
{% endif %}
{% if site.JB.ASSET_PATH %}
{% assign ASSET_PATH = site.JB.ASSET_PATH %}
{% else %}
{% capture ASSET_PATH %}{{ BASE_PATH }}/assets/themes/{{ page.theme.name }}{% endcapture %}
{% endif %}
{% endif %}
{% endcapture %}{% assign jbcache = nil %}

View file

@ -1,7 +0,0 @@
{% assign base = '' %}
{% assign depth = page.url | split: '/' | size | minus: 1 %}
{% if depth == 1 %}{% assign base = '..' %}
{% elsif depth == 2 %}{% assign base = '..' %}
{% elsif depth == 3 %}{% assign base = '../..' %}
{% elsif depth == 4 %}{% assign base = '../../..' %}
{% elsif depth == 5 %}{% assign base = '../../../..' %}{% endif %}

35
_includes/seo.html Normal file
View file

@ -0,0 +1,35 @@
{% seo %}
<!-- BEGIN seo.html -->
<meta name="title" content="{{ page.title }} | {{ site.title }}" />
<meta name="dc.date.modified" scheme="ISO8601" content="{{ site.time | date_to_xmlschema }}" />
{% if jekyll.environment == 'production' %}<meta name="robots" content="index" />{% else %}<meta name="robots" content="noindex, nofollow" />{% endif %}
<meta charset="utf-8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="canonical" href="{{ site.url }}{{ page.url }}" />
<link rel="alternate" href="{{ site.url }}{{ page.url }}" hreflang="x-default" />
<!-- Dublin Core basic info -->
<meta name="dcterms.Identifier" content="{{ site.url }}" />
<meta name="dcterms.Format" content="text/html" />
<meta name="dcterms.Relation" content="{{ site.title }}" />
<meta name="dcterms.Language" content="sv_SE" />
<meta name="dcterms.Publisher" content="{{ site.title }}" />
<meta name="dcterms.Type" content="text/html" />
<meta name="dcterms.Coverage" content="{{ site.url }}/" />
<meta name="dcterms.Rights" content="Copyright &copy;{{ site.time | date: '%Y' }} {{ site.title }}." />
<meta name="dcterms.Title" content="{{ page.title }} | {{ site.title }}" />
<meta name="dcterms.Subject" content="{{ site.description | strip_html }}" />
<meta name="dcterms.Contributor" content="{{ site.title }}" />
<meta name="dcterms.Date" content="{{ site.time | date: '%Y-%m-%d' }}" />
<meta name="dcterms.Description" content="{{ site.description | strip_html }}" />
<!-- Twitter Card -->
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@sakrecoer" />
<meta name="twitter:title" content="{{ page.title }} | {{ site.title }}" />
<meta name="twitter:description" content="{{ site.description | strip_html }}" />{% if page.url != '/' %}
<meta name="twitter:image" content="{{ site.url }}{{ page.image }}" />{% else %}
<meta name="twitter:image" content="{{ site.url }}{{ site.logo }}" />{% endif %}
<!-- END seo.html -->

View file

@ -1,4 +1,4 @@
{% include base.html %}
<button id="video_pause">Pause<br />Video</button>

View file

@ -1,22 +1,18 @@
---
---
<!DOCTYPE html>
<html>
<html lang="en">
<head>
{% include base.html %}
<meta name="dc.date.modified" scheme="ISO8601" content="{{ site.time | date_to_xmlschema }}" />
<meta charset="utf-8" />
<meta name="robots" content="no-index"/>
<link rel="stylesheet" href="{{ base }}/assets/css/style2014.css" />
<link rel="shortcut icon" href="{{ base }}/assets/img/mininewskoolLOGO.png" type="image/png" />
<title>Sakrecoer - {{ page.title }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=yes" />
<link rel="apple-touch-icon" href="{{ site.baseurl }}/apple-touch-icon.png">
<link rel="icon" type="image/png" href="{{ site.baseurl }}/touch-icon.png" sizes="192x192">
<link rel="shortcut icon" href="{{ site.baseurl }}/favicon.png" type="image/png" />
{% if page.url == '/' %}<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/frontpage.css" />{% else %}<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/style2014.css" />{% endif %}
{% include seo.html %}
</head>
<body id="{{ page.title }}">
<div class="image-fullscreen" style="background-image:url('{{ base }}{{ page.bgimg }}')"></div>
<div id="content">{{ content }}</div>
<body>
{{ content }}
{% include navmenu.html %}
</body>
</html>
</html>

View file

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
{% include base.html %}
<title>{{ page.title }} by {{ site.title }}</title>
<meta name="dc.date.modified" scheme="ISO8601" content="{{ site.time | date_to_xmlschema }}" />

View file

@ -4,7 +4,7 @@ permalink: /:categories/:title/
<!DOCTYPE html>
<html>
<head>
{% include base.html %}
<meta name="dc.date.modified" scheme="ISO8601" content="{{ site.time | date_to_xmlschema }}" />
<title>{{ page.title }} - The Sakrecoer Jukebox</title>
<meta charset="utf-8" />

View file

@ -3,7 +3,7 @@
<!DOCTYPE html>
<html>
<head>
{% include base.html %}
<meta name="dc.date.modified" scheme="ISO8601" content="{{ site.time | date_to_xmlschema }}" />
<meta charset="utf-8" />
<meta http-equiv="refresh" content="30;url=/">

View file

@ -1,27 +1,6 @@
---
layout: default
---
<!DOCTYPE html>
<html>
<head>
{% include base.html %}
<meta name="dc.date.modified" scheme="ISO8601" content="{{ site.time | date_to_xmlschema }}" />
<meta charset="utf-8" />
<meta name='robots' content='index'/>
<meta name="description" content="{{ page.title }} by {{ site.title }}. {{ content | truncatewords:40 | strip_html }}">
<meta name="date" content="{{ page.date | date: '%Y-%m-%d' }}" scheme="YYYY-MM-DD">
<meta name="keywords" content="{{ page.title }}, {{ page.keywords }} Sakrecoer, blog, article, readings, thoughts, poetry for robots,">
<meta property="og:image" content="{{ site.production_url }}{{ page.bgimg }}" />
<meta property="og:title" content="{{ page.title }}" />
<meta property="og:type" content="article" />
<meta property="og:site_name" content="{{ site.title }}" />
<meta property="og:description" content="{{ content | truncatewords:30 | strip_html }}" />
<meta property="og:url" content="{{ site.production_url }}{{ page.url }}" />
<link rel="stylesheet" href="{{ base }}/assets/css/style2014.css" />
<link rel="shortcut icon" href="{{ base }}/assets/img/mininewskoolLOGO.png" type="image/png" />
<title>Sakrecoer - {{ page.title }}</title>
</head>
<body id="Blog">
<div class="image-fullscreen" style="background-image:url('{{ base }}{{ page.bgimg }}')"></div>
@ -47,8 +26,5 @@
</tr>
</table>
</div>
{% include navmenu.html %}
</body>
</html>

View file

@ -1,6 +1,6 @@
---
---
{% include base.html %}
{% include normalize.css %}
/*! sakrecoer sheet */

View file

@ -3,7 +3,7 @@
<!DOCTYPE html>
<html>
<head>
{% include base.html %}
<title>About The Sakrecoer Family</title>
<meta charset="utf-8" />
<meta name='robots' content='index'/>

View file

@ -1,6 +1,6 @@
---
---
{% include base.html %}
{% include normalize.css %}
{% include style.css %}

View file

@ -1,6 +1,6 @@
---
---
{% include base.html %}
/*! Index page */
@font-face {
font-family: futura;

View file

@ -1,6 +1,6 @@
---
---
{% include base.html %}
@font-face {
font-family: futura;

View file

@ -1,7 +1,7 @@
---
---
{%include base.html %}
/* skipper */
#skipper {

View file

@ -1,6 +1,6 @@
---
---
{% include base.html %}
{% include normalize.css %}
{% include style.css %}
{% include navmenu.css %}

View file

@ -3,7 +3,7 @@ layout: default
title: Blog
bgimg: /assets/img/bg/blog.jpg
---
{% include base.html %}
This website is not a place for dialogues, hence you cannot comment. <br />But hey! If you are upSet, happy or lost, I'd love to hear from you on this mail: public [at] sakrecoer [dot] com<br />Haters are encouraged to tell and show EVERYBODY how hateworthy this is.<hr />
{% for post in site.categories.blog %}

View file

@ -1,25 +1,7 @@
---
layout: default
---
<!DOCTYPE html>
<html lang="en">
<head>
{%include base.html %}
<title>The Sakrecoer MotherDAT</title>
<meta name="dc.date.modified" scheme="ISO8601" content="{{ site.time | date_to_xmlschema }}" />
<meta charset="utf-8" />
<meta name="robots" content="index" />
<meta name="description"
content="MotherDAT of Sakrecoer. I'm Funky and i deliver. My gender is Robot and i was born tomorrow. This is my Production.">
<meta name="keywords"
content="Sakrecoer, reSet Sakrecoer, Simio, Agga, Fo0bar, pusSet, Free, Music, GNUsic, Electronic, Techno, mp3, ogg, flac, open source, open mind, groove, funk, hiphop, gospel, Kick'n'base, basspistol, villamagica, artifexbcn, subnatura, micro, hardware, elektron, machinedrum, octatrack, monomachine, jomox, mbase01, waldorf, blofeld, AW16G, yamaha, synthesizer, synths, creative, commons, zoom, r16">
<link rel="shortcut icon" href="assets/img/mininewskoolLOGO.png" type="image/png" />
<link rel="stylesheet" type="text/css" href="{{ base }}assets/css/frontpage.css" />
</head>
<body>
<a id="about" href="about/">About</a>
<a id="log" href="blog/">Log</a>
<a id="music" href="music/">Music</a>
@ -106,7 +88,3 @@
</script>
</body>
</html>

View file

@ -4,7 +4,7 @@ title: Track Index
<!DOCTYPE html>
<html>
<head>
{% include base.html %}
<meta charset="utf-8" />
<meta name="dc.date.modified" scheme="ISO8601" content="{{ site.time | date_to_xmlschema }}" />
<meta name="robots" content="index"/>

59
rss.xml
View file

@ -1,59 +0,0 @@
---
title : The Basspistol RSS Feed
---
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:rawvoice="http://www.rawvoice.com/rawvoiceRssModule/" xmlns:googleplay="http://www.google.com/schemas/play-podcasts/1.0" xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" >
<channel>
<title>{{ site.title }}</title>
<atom:link href="{{ site.production_url }}/rss.xml" rel="self" type="application/rss+xml" />
<link>{{ site.production_url }}</link>
<description>{{ site.tagline | xml_escape }}</description>
<lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
<language>en-US</language>
<sy:updatePeriod>weekly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://jekyllrb.com/</generator>
<image>
<url>{{ site.production_url }}{{ site.banner }}</url>
<title>{{ site.title }}</title>
<link>{{ site.production_url }}</link>
<width>128</width>
<height>128</height>
</image>
<itunes:summary><![CDATA[{{ site.tagline }}]]></itunes:summary>
<itunes:author>{{ site.title }}</itunes:author>
<itunes:explicit>yes</itunes:explicit>
<itunes:image href="{{ site.production_url }}{{ site.banner }}" />
<itunes:owner>
<itunes:name>{{ site.title }}</itunes:name>
<itunes:email>{{ site.email }}</itunes:email>
</itunes:owner>
<managingEditor>{{ site.email }}</managingEditor>
<copyright>Anti-Copyright 2018 {{ site.title }}</copyright>
<itunes:subtitle>{{ site.title }}</itunes:subtitle>
<itunes:category text="Music">
</itunes:category>
<rawvoice:rating>TV-14</rawvoice:rating>
<rawvoice:frequency>Daily</rawvoice:frequency>
{% for post in site.categories.music %}
<item>
<title>{{ post.title }}</title>
<link>{{ site.production_url }}{{ post.url }}</link>
<guid isPermaLink="false">{{ post.uid }}</guid>
<description> &lt;img src=&quot;{{ site.audio_url }}{{ post.bgimg }}&quot; /&gt; &lt;br /&gt;{{ post.content | xml_escape }}</description>
<category>Podcasts</category>
<author>Sakrecoer</author>
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
<itunes:author>Sakrecoer</itunes:author>
<itunes:explicit>Yes</itunes:explicit>
<itunes:subtitle>{{ post.description | strip_html | truncate: 252 | xml_escape }}</itunes:subtitle>
<itunes:summary>{{ post.description | xml_escape }}</itunes:summary>
<itunes:keywords>{% for keywords in post.keywords %}{{ keywords | strip_html | xml_escape }}{% unless forloop.last %}, {% endunless %}{% endfor %}</itunes:keywords>
<itunes:image href="{{ site.production_url }}/assets/audio/{{ post.cover }}"/>
<enclosure url="{{ site.audio_url }}{{ post.mp3 }}?ref=rss" type="audio/mpeg"/>
</item>
{% endfor %}
</channel>
</rss>

View file

@ -1,8 +0,0 @@
---
# Remember to set production_url in your _config.yml file!
title : Sitemap
---
{% for page in site.pages %}
{{site.production_url}}{{ page.url }}{% endfor %}
{% for post in site.posts %}
{{site.production_url}}{{ post.url }}{% endfor %}