Skip to content

Commit

Permalink
Add an Atom feed for the blog at blog/feed.xml
Browse files Browse the repository at this point in the history
Note a few workarounds were needed, discussion on
lektor/lektor-atom#22 and issues linked to it.
  • Loading branch information
rgommers committed Apr 17, 2019
1 parent f1cd9ca commit 77f9706
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ cache:
install:
- pip install Lektor
- lektor plugins add markdown-higlighter
# lektor plugins add lektor-atom # misses a bug fix, so (equal to
# nixjdm/lektor-atom now, but pointing to a version we control):
- pip install https://github.com/rgommers/lektor-atom/archive/master.zip
script: "lektor build"
deploy:
provider: script
Expand Down
8 changes: 8 additions & 0 deletions configs/atom.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[blog]
name = Quansight Labs
source_path = /blog
url_path = /blog/feed.xml

[main]
blog_author_field = author
blog_summary_field = short_description
1 change: 1 addition & 0 deletions content/blog/contents.lr
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
_model: blog
---
title: Blog
---
2 changes: 2 additions & 0 deletions qslabs_site.lektorproject
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
[project]
name = Quansight Labs blog
url = https://labs.quansight.org

[servers.ghpages]
target = ghpages+https://Quansight-Labs/quansight-labs-site?cname=labs.quansight.org

[packages]
lektor-markdown-highlighter = 0.3.1
lektor-atom = 0.3

0 comments on commit 77f9706

Please sign in to comment.