Commit graph

15 commits

Author SHA1 Message Date
Brandon DeRosier
472f835f9a Implement AUTHOR_BIO "name" and "cover" fields. (#16)
* Implement AUTHOR_BIO "name" and "cover" fields.

In the theme readme, there's are "name" and "cover" fields in the
AUTHOR_BIO example, but these two fields weren't implemented yet.

Instead, the author page was displaying the author entry through
the title Jinja2 filter (which doesn't work so well for surnames like
mine, which contains multiple capital letters ;) ), and the cover
image was being used for the avatar image. This change uses the
"name" and "cover" fields for these, respectfully.

The cover image on the author page will also gracefully fall back
to the site default if an author cover isn't specified as well.

* Correct name author name display in post loop

* Set author name if author bio not set

default author name string will be title and that can be override form auther bio name
2017-12-02 23:15:03 -08:00
Arul
dc1cf00d49 #2 support for relative and absolute urls
-in author avatar, custom css and js

color metadata support in article

updated the readme
2017-06-10 00:29:08 +05:30
Arul
8e91c6096c updated missing slash / 2017-06-04 18:25:42 +05:30
Monica Powell
be2c4c6ff5 Author casing (#5)
* added trailing slash to Home link - to properly handle root urls

* updated Home link on author page

* updated Home link on misc. pages

* switched from capitalize to title in order to properly capitalize two word names

* reverted URL changes to keep seperate from casing logic changes

* updated metatag logic to remove extraneous metatags on articles

* removed other changes. only author casing in this PR
2017-06-03 10:48:35 +05:30
Monica Powell
86277c8bcf added trailing slash to Home link - to properly handle root urls 2017-05-27 07:58:15 -04:00
Arul
d55c712052 cover image related fixes 2016-12-17 15:48:53 +05:30
Arul
f3930d159d jsonld support added. og as seperate partials 2016-12-17 06:47:22 +05:30
Arul
9a24473823 fix on author bio 2016-09-18 00:53:14 +05:30
Arul
242a5391fa og and twitter card changes 2016-09-16 22:42:58 +05:30
Arul
bb994cb94b Author bio in article page
- Example conf in pelicanconf.py
AUTHORS_BIO = {
  "arul": {
      "name": "Arulraj V",
          "cover": "https://www.gravatar.com/avatar/dead1c3ffb26a27d8b5e30e1c30e46e6?s=600",
              "image": "https://www.gravatar.com/avatar/dead1c3ffb26a27d8b5e30e1c30e46e6?s=600",
                  "website": "http://arulraj.net",
                      "location": "Chennai",
                          "bio": "• Architect • DevOps • Full Stack Developer • Aspiring Entrepreneur •",
                              "twitter": "arulrajnet",
                                  "facebook": "arulraj.net"
                                    }
                                    }
2016-09-15 11:31:46 +05:30
Arul
6acd4ce89a previous and next post using neighbors plugin 2016-09-14 16:37:17 +05:30
Arul
21de12c0fc move font folder, progressbar and disqus show comment button 2016-09-13 23:20:16 +05:30
Arul
f5003d5682 added archive category pages 2016-09-13 21:28:52 +05:30
Arul
2fee5e9d3e artilecls list by tag and author 2016-09-13 20:07:13 +05:30
Arul
2db8e49cdb added empty html files 2016-09-12 23:13:58 +05:30