Commit Graph

23 Commits

Author SHA1 Message Date
Mathias Bynens
81a2f8c135
Merge branch 'master' into last-x-posts 2018-09-29 10:49:44 -04:00
Mathias Bynens
096ff9f3de
Add sitemap.xml 2018-09-24 16:23:31 -04:00
Mathias Bynens
8b66ea9bea Add archives page
Blogs commonly only display the latest `n` blog posts on the home page, while showing the full list on a separate archive page. This change implements that.
2018-09-19 17:13:28 +02:00
Zach Leatherman
ef7783222d Adds a /tags/ to list all valid tags 2018-08-29 08:46:06 -05:00
Mathias Bynens
f17db1370c
Simplify collection filtering using startsWith 2018-08-17 14:11:32 +02:00
Zach Leatherman
4185f33c15 Adds markdown-it-anchor plugin 2018-06-18 09:00:00 -05:00
Zach Leatherman
1c573d0d6d Updates for 0.2.14 2018-02-17 12:36:26 -06:00
Zach Leatherman
ac5c7edb44 Move all src JS into external plugins installed through NPM:
@11ty/eleventy-plugin-rss
@11ty/eleventy-plugin-syntaxhighlight
2018-01-28 21:27:41 -06:00
Zach Leatherman
e8970adb25 Ugh, case sensitivity filename issue on Mac OS 2018-01-27 23:52:24 -06:00
Zach Leatherman
dfe49017c8 Separate files for syntax highlighters 2018-01-27 23:50:07 -06:00
Zach Leatherman
d7e2c4e525 Switch to debug for netlify deploy 2018-01-27 23:44:29 -06:00
Zach Leatherman
dceec25c46 Try the plain highlighter 2018-01-27 23:31:42 -06:00
Zach Leatherman
3b9f9c111e superfluous callback 2018-01-27 23:21:32 -06:00
Zach Leatherman
119dcbaf5a Fixes #6 2018-01-27 21:08:43 -06:00
Zach Leatherman
963b5d46e6 Refactors Liquid syntax highlighters to add line highlights.
Usage (ranges are space separated):

{% highlight js 1,4-6 %}
One range
Adds `highlight-line-active` to lines 1,4,5,6

{% highlight js 3-4 -1 %}
Two ranges (add/remove), remove is N/A
Adds `highlight-line-add` to lines 3,4

{% highlight js -1 3-4 %}
Two ranges (add/remove), add is N/A
Adds `highlight-line-remove` to lines 3,4

{% highlight js 3-4 5,8-10 %}
Two ranges, both are used
Adds `highlight-line-add` to lines 3-4
Adds `highlight-line-remove` to lines 5,8,9,10
2018-01-26 22:12:46 -06:00
Zach Leatherman
6dcc240219 Change default config to use pathPrefix: "/" and then use --pathprefix="/eleventy-base-blog/ for GitHub deploy command. Requires Eleventy v0.2.11 2018-01-25 21:03:57 -06:00
Zach Leatherman
6c2983e013 Upgrades to 0.2.9 for new url filter. 2018-01-23 08:55:29 -06:00
Zach Leatherman
ddae36422d Try prismjs highlighter 2018-01-23 00:26:36 -06:00
Zach Leatherman
39c6d28733 Add subdir for gh-pages 2018-01-23 00:17:57 -06:00
Zach Leatherman
9a0fab1b46 Switch to plain syntax 2018-01-22 23:43:57 -06:00
Zach Leatherman
b9c0d87306 start of eleventy-base-blog that pairs with 0.2.8 2018-01-22 08:17:48 -06:00
Zach Leatherman
9fe4905608 Renames url filter to url 2018-01-16 21:20:54 -06:00
Zach Leatherman
c86db0c9ce Initial commit. 2018-01-16 21:08:47 -06:00