Skip to content

Instantly share code, notes, and snippets.

View Phlow's full-sized avatar
🐙
🎛️ 🔊

Moritz »mo.« Sauer Phlow

🐙
🎛️ 🔊
View GitHub Profile
@Phlow
Phlow / for-loop-sorted-collection
Last active April 30, 2024 13:30
This Liquid loop for Jekyll sorts a collection by date in reverse order
{% comment %}
*
* This loop loops through a collection called `collection_name`
* and sorts it by the front matter variable `date` and than filters
* the collection with `reverse` in reverse order
*
* To make it work you first have to assign the data to a new string
* called `sorted`.
*
{% endcomment %}
@Phlow
Phlow / Phlow Index Webseite V2
Last active August 8, 2022 14:31
Phlow Index Webseite V2 #HTML
<!doctype html>
<html class="no-js" lang="de">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Startseite</title>
<link href='http://fonts.googleapis.com/css?family=Roboto:900,300,700' rel='stylesheet' type='text/css'>
<style type="text/css">
@Phlow
Phlow / Phlow Index Webseite
Last active August 8, 2022 14:31
Phlow Index Webseite #HTML
<!doctype html>
<html class="no-js" lang="de">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Phlow</title>
<style>
body {
background: #222;
color: #fabb00;
@Phlow
Phlow / #Liquid #Jekyll List Archive by Year
Last active August 29, 2015 14:19
#Jekyll Archivseite nach Jahren sortiert
{% comment %}
*
* List Archive by Year
*
{% endcomment %}
<section id="archive">
<h3>This year's posts</h3>
{%for post in site.posts %}
{% unless post.next %}
<ul class="this">