1
0
Fork 0
forked from github/pelican
Commit graph

80 commits

Author SHA1 Message Date
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
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
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
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
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
Leroy Jiang
4f6467ce08 add disqus_url to comment js block 2013-03-05 23:42:42 -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
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
Alexis Metaireau
7b5b99b04b Merge pull request #433 from iurisilvio/patch-1
Use async Google Analytics code.
2012-08-16 04:31:40 -07:00
Alexis Metaireau
f3280071c1 change the link to pelican in the default theme 2012-07-27 00:31:02 +02:00
Iuri de Silvio
172555bbce Use async Google Analytics code. 2012-07-20 21:23:27 -03:00
tBunnyMan
e626f771c4 Add Themes and FAQ documentation on the new FEED_ATOM
Added all the FEED_ATOM variables to _handle_deprecation
Put FEED_ATOM around `if` in notmyidea
2012-07-16 13:47:39 -07:00
tBunnyMan
5f958ae84d Refactor atom feed names for clarity
FEED -> FEED_ATOM
TAG_FEED -> TAG_FEED_ATOM
CATEGORY_FEED -> CATEGORY_FEED_ATOM
2012-07-16 09:35:05 -07:00
justinmayer
e89b32511d Merge pull request #374 from maru-sama/master
Small fix for the notmyidea template
2012-06-16 11:55:32 -07:00
Justin Mayer
083f302b19 Remove errant .DS_Store and add to .gitignore 2012-06-16 11:23:55 -07:00
Michael Guntsche
c461c6435d Fix HTML5 conformance of the notmyidea template
The W3C validator complained that the pagination <p> was inside an <ol>.
So just move it out of there.
2012-06-16 19:53:53 +02:00
asselinpaul
d1dfcdafc2 updated
remove GoSqaured from README and template file from the notmyidea theme.
2012-06-14 23:32:23 +02:00
asselinpaul
44cadf7c1f added GoSquared support
GoSquared(analytics) support added in default themes and documentation
(in French and English)
2012-06-14 23:04:23 +02:00
Justin Mayer
ae1424a8dd Strip tags from title when within tag attribute
The change mentioned in #336 stripped tags properly in some places but
seems to have forgotten at least one location in the main index.html
2012-06-08 09:56:55 -07:00
Kyle Fuller
a16c19545f Don't duplicate html across themes 2012-05-14 18:46:27 +01:00
Alexis Metaireau
1779b66f10 Merge pull request #336 from saimn/typogrify
Apply typogrify on the title.
2012-05-11 07:23:31 -07:00
Bruno Binet
f12a297466 prefix urls with '{{ SITEURL }}/' so that urls won't break when #330 is merged 2012-05-07 23:07:44 +02:00
Simon
4a0d4461e1 Apply typogrify on the title.
As it is done when reading the file, we need to remove html tags for the
permalink and the slug (this is done here for the notmyidea and simple themes).

While modifying the themes I also replaced the `pagename` template tag with
`article.url` (`pagename` was an empty variable, no more used ?).
2012-05-07 12:26:17 +02:00
Aldiantoro Nugroho
424cfe1b1e Fixed hardcoded category url in base.html. 2012-04-10 17:30:42 +08:00
Alexis Metaireau
af2b588ea6 Merge pull request #289 from bbinet/fix_index_template
Fix index.html template
2012-03-31 18:08:30 -07:00
Justin Mayer
34310a61f5 Feed link inside feed should use FEED_DOMAIN
The initial work on enabling feeds to be served from a different domain
than the site domain focused on the feed link displayed inside the
base template. But there is also a feed link inside the generated feed
itself, which this commit updates to use the FEED_DOMAIN value (if
defined).

Also, it turns out that the FEED_MAIN_URL setting is not necessary; the
existing FEED and FEED_RSS functionality is simpler and can address the
targeted use case just as easily. That attribute has been removed from
the settings and template, along with corresponding changes to the docs.
Refs #177.
2012-03-31 08:10:40 -07:00
Bruno Binet
64e12b1809 fix missing </ol> and </section> tags 2012-03-30 14:20:55 +02:00
Justin Mayer
8819d02600 Allow for serving feeds from a separate domain.
This (indirectly) enables support for FeedBurner. Added docs for
FeedBurner configuration. Clarify how defining the SITEURL attribute
affects URL structure. Closes #177.
2012-03-16 20:27:26 -07:00
Thanos Lefteris
acad3e864d Double-quote HTML attribute 2012-03-11 21:08:18 +02:00
Bruno Binet
bfd0e63e3d fix pages urls 2012-03-06 16:41:36 +00:00
Kyle Fuller
ff9c786149 Create a Author class which has a url property 2012-03-06 16:39:07 +00:00
Kyle Fuller
f9ed01bb64 Create a Tag class which has a url property 2012-03-06 16:39:07 +00:00
Kyle Fuller
6754099730 Create a Category class which has a url property 2012-03-06 16:39:07 +00:00
Justin Mayer
4861a15774 Update outdated links to documentation and add Contribute link to README for issue #227 2012-03-06 08:12:15 -08:00
Kyle Fuller
2be58aa51a Remove WITH_PAGINATION, only have a DEFAULT_PAGINATION setting
DEFAULT_PAGINATION can be set to False instead of using WITH_PAGINATION
2011-12-22 14:02:31 +00:00
Alexis Metaireau
4a6bf81b2e remove skribit support. fixes #154 2011-08-11 23:50:04 +02:00
mviera
e8cac3bfff I change article.slug to article.url for always referencing the disqus thread to the correct url. Issue #145 2011-08-03 22:01:45 +02:00
mviera
068a3d2f1d Year and month in URL. Issue #145 2011-07-27 23:47:50 +02:00
Massimo Santini
dd5aeb678a Added author.html and authors.html templates and modified the docs accordingly 2011-07-16 00:44:36 +02:00
Massimo Santini
d8da5ce590 Genetare authors pages with all their posts 2011-06-30 23:49:09 +02:00
Massimo Santini
0a26fcbd0d Avoiding to generate 1/1 if pagination is set to false 2011-06-30 23:46:29 +02:00
Alexis Metaireau
96c42c0aa5 give full credit (with url to the initial theme) for the notmyidea theme 2011-06-17 20:32:59 +02:00
Jochen Breuer
94b15b5260 Added template, inlcude in base and some documentation for Piwik. 2011-06-13 07:30:33 +02:00