Commit Graph

48 Commits

Author SHA1 Message Date
Zach Leatherman
b63f9077ae Additional safety for head check 2021-07-28 08:57:25 -05:00
Zach Leatherman
4a10406051 We don’t need to manage this tags list in two places. 2021-06-24 08:23:11 -05:00
Zach Leatherman
85fd94918e Support spaces in tags in base blog. 2021-03-17 16:29:07 -05:00
Zach Leatherman
4792248aa7 Fixes #63. 2021-03-17 10:32:35 -05:00
Zach Leatherman
7e5a1f5ce7 Fixes #62. 2021-03-17 10:29:29 -05:00
Anders Kaseorg
7af708e8ac Serve 404 page with status code 404, not 200
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2020-12-21 22:17:53 -08:00
Zach Leatherman
d28f834fbb Fixes #70 2020-10-16 13:06:30 -05:00
Zach Leatherman
75e71adb29 Get rid of the _11ty folder—we don’t need it. 2020-07-27 15:18:51 -05:00
Zach Leatherman
d3ced37f50 Clean up the JSON code a bit (don’t need that extra filter) 2020-07-27 15:02:58 -05:00
Zach Leatherman
7be229d9d0
Merge pull request #48 from benjifs/jsonfeed
JSON Feed
2020-07-27 11:30:43 -05:00
Zach Leatherman
ffef660e0e Update TLD 2020-07-17 09:36:28 -05:00
Benji Encalada Mora
12219c480f
use JSON.stringify for content 2020-01-20 01:26:45 -06:00
Zach Leatherman
877a60563c Nicer browsersync defaults. 2020-01-03 11:30:27 -06:00
Zach Leatherman
cc52984dda
Merge pull request #34 from clottman/patch-3
Run browsersync in ghost mode by default
2020-01-02 21:02:20 -06:00
Zach Leatherman
f870ecd50c Switches to use more obvious markup menu template for eleventy-navigation 2020-01-02 20:51:47 -06:00
Zach Leatherman
93e23c7885 Navigation plugin needs to work with pathprefix (update dep) 2019-11-11 16:22:08 -06:00
Zach Leatherman
c9018fa45b Use eleventy-navigation plugin for navigation menu 2019-11-11 15:39:48 -06:00
Benji Encalada Mora
6b0b772b99
Add filter for HTML content 2019-10-30 13:25:58 -05:00
Cassey Lottman
b6e0b85a87
run browsersync in ghost mode
The average user probably does not want every reader's scroll position synced to every other reader.
2019-06-18 10:22:58 -05:00
Zach Leatherman
bbad06deae
Merge pull request #25 from nick-novak/master
xml date fix
2019-02-13 22:10:02 -06:00
Zach Leatherman
e2be85925d Adds https://github.com/11ty/eleventy/issues/386 to default eleventy-base-blog config 2019-01-31 07:14:06 -06:00
Nick Novak
641d9b26e0 xml date fix 2019-01-18 11:25:36 -05:00
Zach Leatherman
496982355e Using deep data merge (post tag is inherited from posts/posts.json) and updates to use 0.7.0. 2019-01-10 22:20:14 -06:00
Zach Leatherman
2402ba4887 Refactored latest posts and with a correct sort. Uses dates on posts rather than file creation dates (unreliable). 2018-09-30 00:09:09 -05:00
Zach Leatherman
68f2715f82 Adds liquid templates to templateFormats 2018-09-29 23:22:27 -05:00
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