Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Daniel Leidert dleidert

🏠
Working from home
View GitHub Profile
@dleidert
dleidert / Print site.github metadata.md
Last active Mar 1, 2019
Debug site.github metadata
View Print site.github metadata.md
---
layout: default
title: Debug site.github
---

```JSON
{{ site.github | neat_json }}
```
@dleidert
dleidert / template.md
Last active Feb 26, 2019
Automatically create changelog / news page for last 5 releases using Jekyll and GitHub Pages
View template.md
{%- assign releases = site.github.releases | where: "draft", false | sort: "tag_name" | reverse -%}

## [UNRELEASED]({{ site.github.repository_url }}/tree/master/)

[compare changes to last release]({{ site.github.repository_url }}/compare/{{ releases[0].tag_name }}...master#files_bucket "Compare changes in master for upcoming release")

{% for release in releases limit:5 %}

## [{{ release.name }}]({{ release.html_url }}) {% if release.prerelease -%}(pre-release){%- endif %}
View Get the download link for an asset of the latest release using site.github namespace in a Jekyll site hosted on GitHub page.md