Florian Jacob
bd9d1b9539
The modified attribute no longer has a default value.
...
This allows for templates using {% if article.modified %}
instead of {% if article.modified != article.published %} .
2013-11-17 23:40:11 +01:00
Florian Jacob
4b2fcb09a4
Added a new ''modified:' metadata tag to be able to specify the
...
publication time and date and the last modified time and date
independently.
This makes it possible to access the last updated date with {{ article.locale_modified }} in templates.
Additionally, an already delivered feed entry can be corrected by changing the modified date and time, as it is used for atom:update
/ rss pubDate field now.
2013-11-10 00:14:55 +01:00
Justin Mayer
5e5510cfcf
Improve Disqus embed code in notmyidea theme
...
According to Disqus, the disqus_shortname variable is a required field.
Also added a <noscript> notice for those who have JS disabled.
2013-10-27 09:27:30 -07:00
Jon Chen
9331e42ee1
use // instead of explicitly defining http
...
for twitter as well
update sample output
2013-10-24 17:06:23 -04:00
Torrance
6dafe69ac6
Ensure headers from base.html are included.
2013-10-10 14:29:42 +13:00
Justin Mayer
85213f077b
Merge pull request #1075 from jeekajoo/patch-1
...
Add async and defer attributes to piwik.js
2013-09-15 08:35:01 -07:00
Alexis Métaireau
6813cd923f
Close some HTML tags. Fix #1076
2013-09-08 17:07:30 +02:00
jeekajoo
b7bc570215
add async and defer attributes to piwik.js
...
inspired from http://piwik.org/docs/javascript-tracking/#toc-where-can-i-find-the-piwik-tracking-code
2013-09-02 19:25:46 +02:00
Alexis Metaireau
651e59fce1
Merge pull request #1057 from astephen2/metadata
...
Added metadata information. Refs #1028
2013-08-25 09:31:22 -07:00
Alex Stephen
8d41d6ba24
Refs #1028 . Now iterating over tags
2013-08-24 23:36:07 -04:00
Alex Stephen
2826c1a558
Added metadata information. Refs #1028
2013-08-21 22:58:50 -04:00
Danilo Bargen
42f9726ffa
Support TAGS_* and AUTHORS_* by default.
2013-08-05 19:16:00 +02:00
Justin Mayer
76fa457654
Normalize whitespace via lstrip Jinja parameter
...
This adds the lstrip_blocks Jinja parameter and removes unnecessary
whitespace from a few notmyidea templates.
Note: The lstrip_blocks parameter requires Jinja 2.7+, which has been
noted in Pelican's setup.py.
Credit for this commit goes entirely to Russ Webber, who has earned my
eternal thanks for discovering and applying this useful Jinja parameter.
Refs #969
2013-08-03 16:17:26 -07:00
Justin Mayer
23e62b0056
Merge pull request #966 from jude/patch-1
...
Adding a FEED_ALL_ATOM check in the "social" div.
2013-08-03 15:16:58 -07:00
Justin Mayer
1443131fde
Merge pull request #976 from kylewm/notmyidea-active-pages
...
Modify notmyidea to include class="active" on pages
2013-08-03 15:12:52 -07:00
Justin Mayer
bea03bb4bb
Merge pull request #979 from nyergler/pagination_conf
...
Support flexible pagination configuration
2013-08-03 14:58:47 -07:00
Russ Webber
89034f8b3f
added THEME_STATIC_DIR setting
...
The theme static output directory path is now customisable via settings.
i.e. you can now use 'assets' instead of 'theme'.
2013-08-01 11:02:38 +08:00
Ross McFarland
c5eecd23eb
PAGINATION_URL/PAGINATION_SAVE_AS implementation
...
allows the use of custom urls for pagination similar to *_URLS
2013-07-29 08:09:44 -04:00
Kyle Mahan
0ddabb95c3
Modify notmyidea to include class="active" on pages
2013-07-27 12:30:24 -07:00
Justin Mayer
e32c893aa1
Support Gaug.es analytics in notmyidea theme
2013-07-18 10:26:45 -07:00
Jude N
c5008f61e0
Adding a FEED_ALL_ATOM check in the "social" div.
...
The head section has a tests for FEED_ALL_ATOM when building the atom link. This diff add a similar test in the "social" div.
2013-07-16 23:44:53 -04:00
Andrew Ma
298151237e
Adding stackoverflow to social icons
2013-07-03 22:36:52 -07:00
Simon Conseil
4d2355bc57
Clean up and improve <head> of notmyidea theme
...
- remove useless IE stuff (links to files that do not exist)
- use DEFAULT_LANG for the lang attribute
- move charset at the top
2013-04-23 06:51:22 -07:00
Justin Mayer
679d4aa801
Main CSS file uses tabs, not spaces
2013-04-10 17:14:19 -07:00
Justin Mayer
45dc17f41f
Current default theme design is MIT licensed
2013-04-10 16:58:25 -07:00
David Beitey
e042e11c23
Add new option for controlling whether to display categories on menu or not
...
Conflicts:
docs/changelog.rst
pelican/tests/output/basic/tag/bar.html
pelican/tests/output/basic/tag/baz.html
pelican/tests/output/basic/tag/foo.html
pelican/tests/output/custom/tag/bar.html
pelican/tests/output/custom/tag/baz.html
pelican/tests/output/custom/tag/foo.html
2013-04-01 22:08:13 +10:00
Alexis Metaireau
932407f153
Merge pull request #780 from georgevreilly/master
...
Updated social icons
2013-03-22 00:40:03 -07:00
Chris Elston
173e17d992
Simple theme article permalink missing SITEURL
...
This change modifies the simple template so that the SITEURL
prefix is added to the article permalink found within the article
page itself.
2013-03-21 11:28:06 +00:00
Justin Mayer
9eda0f79bd
External resources should be scheme-independent
...
By using "//" instead of "http://" when referring to external resources
such as fonts (e.g., from within CSS files), warnings about "insecure"
content can be avoided.
2013-03-18 17:36:35 -07:00
George V. Reilly
d4b41bd11d
Multiple Social icons
...
aboutme, bitbucket, google-groups, hackernews, reddit,
slideshare, speakerdeck, vimeo, youtube
Also, fix spacing below a line-block.
Try this in resT::
| First line
| Second line
| Third line
New paragraph.
Another paragraph.
Notice how the line-block runs into the first paragraph without the new CSS.
2013-03-15 19:02:44 -07:00
tehkonst
ab035795bc
fix slug for feed urls
...
Conflicts:
pelican/contents.py
2013-03-10 23:41:02 -07:00
Leroy Jiang
4f6467ce08
add disqus_url to comment js block
2013-03-05 23:42:42 -08:00
Joseph Reagle
168d713df8
ul/li have no top/bottom margins, but list do
2013-03-03 22:35:56 -08:00
Joseph Reagle
9ed4e77049
improve spacing of p and nested lists
2013-03-03 22:35:03 -08:00
Steve Schwarz
1bbfdf96a0
Display feed(s) in footer if no SOCIAL links
...
For sites where there are no SOCIAL links defined the FEED_ALL_ATOM and/or the FEED_ALL_RSS links are not displayed.
Also update the functional tests output.
2013-03-03 21:40:55 -08:00
Justin Mayer
a0049f9fcd
Strip tags from title in simple index. Fixes #612
...
This fix was applied previously to the relevant places in both the
"simple" and "notmyidea" themes, but the simple theme's index.html file
was apparently neglected.
2012-12-02 16:10:11 -08:00
Justin Mayer
7056622322
Fix missing SITEURL and base home link
...
1. Following up on bbinet's changes in f12a297 , ensure that the notmyidea
theme's article.html template includes the SITEURL variable when
constructing URL links.
2. Add missing slash to the base.html template so that clicking on the
site header at top left refers to "/" instead of "" when SITEURL is not
defined. Otherwise, the "" target will cause the browser to load the
current page and not the site's root (as one would expect).
2012-11-27 16:01:05 -08:00
Tomi Pieviläinen
429991c3f9
List of translations for simple and notmyidea pages
2012-11-21 15:45:50 +02:00
jawher
b6db45420c
Default to using FEED_ALL_ATOM instead of FEED_ATOM (and likewise for RSS) in the notmyidea theme
2012-11-12 23:01:17 +01:00
jawher
fd18f2efa9
Generate links for FEED_ALL_ATOM and FEED_ALL_RSS in the simple them's head.
2012-11-12 23:01:17 +01:00
David Beitey
121bc0ad5e
Optimize social icons
2012-11-04 12:49:05 +10:00
David Beitey
9fdd378687
Add Google+ social icon
2012-11-04 12:25:02 +10:00
David Beitey
41d3a1e8dd
Merge branch 'github-social-icon' into improved-icons
...
Conflicts:
docs/changelog.rst
2012-11-04 12:09:28 +10:00
David Beitey
705ab7b0f8
Improve linkedin icon
2012-11-03 22:27:33 +10:00
David Beitey
4afc32c425
GitHub icon also works for git.io addresses in social
2012-11-03 22:21:02 +10:00
David Beitey
868ef2079c
Add GitHub social icon support in default theme
...
Conflicts:
docs/changelog.rst
2012-11-03 22:13:26 +10:00
Alexis Métaireau
cce962f3f0
Change the background color of the code-blocks on the default theme. Fix #511
2012-10-12 23:01:51 +02:00
Chris Streeter
d718bc2eba
Apply the string formatting to {TAG,CATEGORY}_FEED urls.
2012-10-12 23:01:50 +02:00
Ian Cordasco
b911972716
Add Gittip to social icons.
...
This allows someone to include their gittip link so people can donate to them.
2012-08-31 23:12:09 -04:00
Alexis Metaireau
7b5b99b04b
Merge pull request #433 from iurisilvio/patch-1
...
Use async Google Analytics code.
2012-08-16 04:31:40 -07:00