diff --git a/.travis.yml b/.travis.yml index 98efeaf1b..71f0c2e60 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,6 +11,8 @@ cache: install: - pip install Lektor - lektor plugins add markdown-higlighter + - lektor plugins add lektor-atom + - pip install https://github.com/eigengrau/lektor-atom.git script: "lektor build" deploy: provider: script diff --git a/configs/atom.ini b/configs/atom.ini new file mode 100644 index 000000000..5334ba64e --- /dev/null +++ b/configs/atom.ini @@ -0,0 +1,11 @@ +[blog] +name = Quansight Labs +source_path = blog/ +url_path = https://labs.quansight.org/blog/ +filename = feed.xml # blog/feed.xml would be better but doesn't seem to work +items = site.query('/blog/').filter(F.type == 'blog-post') +item_model = blog-post + +[main] +blog_author_field = author +blog_summary_field = short_description diff --git a/qslabs_site.lektorproject b/qslabs_site.lektorproject index 0e057b35c..e376860c3 100644 --- a/qslabs_site.lektorproject +++ b/qslabs_site.lektorproject @@ -6,3 +6,4 @@ target = ghpages+https://Quansight-Labs/quansight-labs-site?cname=labs.quansight [packages] lektor-markdown-highlighter = 0.3.1 +lektor-atom = 0.3