Commit graph

9 commits

Author SHA1 Message Date
Vitaly Potyarkin
e6ccaf33d2 Google analytics update (#31)
* Update Google Analytics tracking code

Previous template was using ga.js which is considered legacy now. The
recommended way to enable Google Analytics now is via gtag.js:
https://support.google.com/analytics/answer/1008080

* Do not store IP address (personally identifyable information)

With GDPR in effect IP addresses are considered personally identifyable
information, and storing them becomes legally complicated. Anonymizing IPs
seems to be a sensible default behavior.

The only drawback is slightly reduced geolocation accuracy.

More information:
- https://developers.google.com/analytics/devguides/collection/gtagjs/ip-anonymization
- https://support.google.com/analytics/answer/2763052
- https://www.blastam.com/blog/5-actionable-steps-gdpr-compliance-google-analytics
2018-06-29 10:45:14 +05:30
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
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
Arul
311d91b846 added slash in missing files 2017-06-03 10:37:59 +05:30
Andrew B
8b4f280426 Amended the display of pages list in naviagtion.html
Adjusted the reference of files to correct case
2017-05-20 19:27:34 +10: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
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