Skip to content

Instantly share code, notes, and snippets.

Kasper Isager kasperisager

View GitHub Profile
@kasperisager
kasperisager / css3.svg
Last active Feb 21, 2016
HTML5, CSS3, and JS badges (excl. titles) in SVG format. All credit goes to their creators.
View css3.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kasperisager
kasperisager / navigation.html
Last active Mar 7, 2019
Nested Jekyll page navigation without plugins
View navigation.html
{% capture html %}
<ul>
{% if include.context == "/" %}
<li class="{% if page.url == "/" %}active{% endif %}">
<a href="{{ site.baseurl }}/">{{ site.title }}</a>
</li>
{% endif %}
{% assign entries = site.pages | sort: "path" %}
{% for entry in entries %}
You can’t perform that action at this time.