Commit Graph

13 Commits

Author SHA1 Message Date
Arnaud Rebillout 2dd1cd6d27 Move feeds into a fragment file 2020-07-26 15:26:00 +07:00
Arnaud Rebillout 43c9c419c0 Fix feeds href everywhere
Per https://docs.getpelican.com/en/stable/settings.html#feed-settings:

    FEED_DOMAIN = None, i.e. base URL is "/"

    The domain prepended to feed URLs. Since feed URLs should always be
    absolute, it is highly recommended to define this (e.g.,
    “https://feeds.example.com”). If you have already explicitly defined
    SITEURL (see above) and want to use the same domain for your feeds, you
    can just set: FEED_DOMAIN = SITEURL.

Using `href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}"` in the template
seems to be the right way to do things, by looking at other themes, eg
the default theme in Pelican itself:

https://github.com/getpelican/pelican/blob/master/pelican/themes/simple/templates/base.html

Obviously, this change might break things for some users of the theme.
If someone used to have this definition in `publishconf.py`:

    FEED_ALL_ATOM = SITEURL + '/feeds/all.atom.xml'

Then they should update to:

    FEED_DOMAIN = SITEURL
    FEED_ALL_ATOM = 'feeds/all.atom.xml'
2020-07-26 15:25:52 +07:00
Arnaud Rebillout c688953bc0 Cosmetics, add 'analytics' comment 2020-07-26 15:25:41 +07:00
Felipe S. S. Schneider 353f49ca84 Use Atom feed instead of RSS 2020-05-02 14:58:05 -03:00
Felipe S. S. Schneider 12d183b4c1 Support Academicons 2020-05-02 13:31:06 -03:00
Felipe S. S. Schneider 16e3058462 Update font-awesome to 5.13.0 and support kit.fontawesome.com 2020-05-02 12:37:49 -03:00
Arnaud Rebillout 32e7e47d14 Bump font-awesome to 4.7.0
Signed-off-by: Arnaud Rebillout <elboulangero@gmail.com>
2019-02-17 12:18:29 +07:00
Tom Gurion 890401c658 Replace | with - between site name and subtitle in open graph title 2017-09-02 22:16:56 +01:00
Tom Gurion 6c7fe23989 Add metadata description and open graph tags 2017-08-28 18:32:58 +01:00
José Guilherme Vanz 1d615a6670 sidebar.html: add email 2016-01-24 23:56:04 -02:00
Nicolas Lœuillet 1bd296b995 Some enhancements
* add SITESUBTITLE for title pages
* add pagination links for previous and next articles
* remove hardcoded email of jvanz (creator of this theme)
2016-01-04 13:28:30 +01:00
José Guilherme Vanz f3dc227e05 fragments: added Google analytics fragment 2015-10-25 02:40:29 -02:00
José Guilherme Vanz f946b964a6 Base pelican-hyde theme 2015-10-25 02:01:30 -02:00