Commit graph

360 commits

Author SHA1 Message Date
Eric
0a6294a2a3 More clear example for related posts
The existing related posts example doesn't show properties for the collection, this could be confusing to individuals who are not programmers, because as it was the code would render five bullet points.

I am also looking to add some type of loop control or if statement to the loop to detect duplicate, I tried t a dictionary sort filter through jinja, bu that through an error, the following is not guarantted to work then:


		{% set LASTARTICLE = "notset" %}
		{% if article.related_posts %}
			<ul>
			{% for related_post in article.related_posts|dictsort(false, 'url')  %}
				{% if not (LASTARTICLE == related_post.url) %}
				   <li><a href="{{ related_post.url }}">{{ related_post.title }}</a></li>
				{% endif %}
				{% set LASTARTICLE = related_post.url %}
			{% endfor %}
			</ul>
		{% endif %}

the dicsort does not work (is this not a dict, I'm not a python guy so I'm just hacking at it.
2013-01-20 17:27:28 -06:00
Bruno Binet
e5be4b7e40 Merge pull request #658 from elemoine/github
Improve Publishing to GitHub doc section
2013-01-11 07:12:34 -08:00
Peter Desmet
696caac9b0 Fixed a typo
BeatifulSoup -> Beautiful Soup
2013-01-07 10:49:51 +01:00
Éric Lemoine
369bb476e9 Improve Publishing to GitHub section of the doc 2013-01-01 01:01:19 +01:00
Alexis Metaireau
d879218c27 Merge pull request #620 from rskvazh/patch-1
Update docs/plugins.rst
2012-12-18 01:15:50 -08:00
Alexis Metaireau
98c8db568b Merge pull request #577 from davidjb/import-improvements-slug
Provide slug storage option for posts during Pelican import
2012-12-11 03:52:12 -08:00
David Beitey
b4c5d7cf62 Store slugs in posts by default on Pelican import 2012-12-11 21:44:40 +10:00
Trae Blain
b0ff693839 Updated plugins documentation to include actual callable names of each plugin included. 2012-12-07 14:40:44 -06:00
Roman Skvazh
694f318614 Update docs/plugins.rst
Change yuicompressor to yui_js and yui_css
2012-12-06 21:15:25 +04:00
Bruno Binet
9f66333d77 fix rst issue 2012-12-04 02:08:13 +01:00
Justin Mayer
a07b56c02b Doc fixes and improvements 2012-12-03 16:31:55 -08:00
Alexis Métaireau
be2a3f4030 bump version number 2012-12-04 01:27:16 +01:00
Alexis Métaireau
89fd11d582 tagging 3.1 2012-12-04 01:21:57 +01:00
Bruno Binet
8bb86d3e5d revert #523
we don't need a new MARKDOWN_EXTENSIONS setting because the equivalent setting
MD_EXTENSIONS already exists.
2012-12-03 22:35:11 +01:00
Justin Mayer
6236e8f66b Updated changelog to include recent changes 2012-12-03 12:59:31 -08:00
Bruno Binet
f86e1128f0 docfix: fix example of FILENAME_METADATA regexp 2012-12-03 10:20:43 +01:00
Bruno Binet
070fa1ff9d add more docs about FILENAME_METADATA 2012-12-03 10:20:40 +01:00
Bruno Binet
3a25f82c4f update docs/settings.rst for both DEFAULT_METADATA and FILENAME_METADATA 2012-12-03 09:53:14 +01:00
Bruno Binet
e14623b46c Merge pull request #611 from michaelreneer/master
Updated documentation
2012-12-02 12:25:40 -08:00
Brian C. Lane
49f481e399 Add asciidoc reader support
http://www.methods.co.nz/asciidoc/index.html

Processes files ending in .asc with asciidoc. Extra arguments can be
passed by using the ASCIIDOC_OPTIONS config setting
2012-12-02 10:20:13 -08:00
Michael Reneer
891a66ad8b Updated documentation to reflect addition of new markdown types. 2012-12-02 13:11:47 -05:00
Bruno Binet
81cb774a8e add docs for cross-site linking 2012-12-01 21:35:15 +01:00
Alexis Métaireau
c731edcdeb pages should be in the content folder 2012-11-29 19:16:44 +01:00
Bruno Binet
a86fdfc779 update changelog: add gzip_cache plugin 2012-11-29 15:16:57 +01:00
Bruno Binet
3342d3b9b9 Added some documentation about the gzip plugin. 2012-11-29 15:00:44 +01:00
Bruno Binet
447e627286 update changelog to reflect changes from #592 2012-11-28 00:41:40 +01:00
Bruno Binet
ce0723cf48 update contribute.rst doc
$USER environment variable is no longer needed
2012-11-28 00:29:52 +01:00
Bruno Binet
fa82e19c1f change default value for DEFAULT_DATE to None
(was 'fs' => guess from file mtime)
2012-11-28 00:29:51 +01:00
Michael Reneer
103ae436c9 Update docs/settings.rst
Updated commit based on the discussion in the pull request.
2012-11-26 13:03:25 -05:00
Michael Reneer
4de668159d Update docs/settings.rst
Updated the documentation for the MARKUP setting to reflect the current supported markup file extensions.
2012-11-26 11:26:33 -05:00
Tomi Pieviläinen
a6f328516a Metadata parity for RST/MD, document summary. 2012-11-24 13:18:49 +02:00
Bruno Binet
5fd6eac477 update changelog (new webassets plugin) 2012-11-23 15:38:41 +01:00
Bruno Binet
801bc755b5 Merge branch 'pr/558'
Conflicts:
	docs/settings.rst
	pelican/signals.py
2012-11-23 15:32:17 +01:00
Alexis Metaireau
6d11f6d063 Merge pull request #583 from egh/master
create a preread signal
2012-11-21 04:53:42 -08:00
Simon
f413a8da79 Change webassets configuration for relative urls.
Set the ASSET_URL to be relative to the 'theme/' url, which requires to use
{{ SITEURL }}/{{ ASSET_URL }} in the template and make it works with both
relative and absolute urls.
2012-11-20 23:42:52 +01:00
Simon
09c893f3a3 Add a new signal generator_init, invoked at the end of Generator.__init__. 2012-11-20 23:42:31 +01:00
Erik Hetzner
fb562ec7d3 add docs for article_generate_preread signal 2012-11-16 08:09:35 -08:00
Alexis Métaireau
5523240553 What would be a commit without his "fix typo" brother, uh? 2012-11-15 20:09:21 +01:00
Alexis Métaireau
43b1555e5d Mention that FILES_TO_COPY is able to copy dirs. 2012-11-15 20:07:08 +01:00
Bruno Binet
ec42fa837f docfix: fix default values for _URL and _SAVE_AS settings
(AUTHOR_URL, AUTHOR_SAVE_AS, CATEGORY_URL, CATEGORY_SAVE_AS)
2012-11-13 01:46:43 +01:00
Bruno Binet
8336df2b9b update changelog: blank author are now allowed
(refs: #555)
2012-11-13 01:41:39 +01:00
Bruno Binet
e56d2b14c8 docfix: updates docs/settings.rst and docs/faq.rst 2012-11-12 23:44:12 +01:00
jawher
cf95b02bc0 Update the faq and changelog 2012-11-12 23:01:17 +01:00
jawher
c7d87feec3 Reverted FEED_ATOM and FEED_RSS to their original behaviour and added FEED_ALL_ATOM and FEED_ALL_RSS
FEED_(ATOM|RSS) generated feeds include the version in the default language of a translated article,
whereas FEED_ALL(ATOM|RSS) would include *really* all posts, regardless of their language.
2012-11-12 23:01:16 +01:00
Simon
4c15ec9f86 Move webassets doc to the plugins page 2012-11-07 00:18:00 +01:00
Bruno Binet
dfa69fd383 Merge branch 'pr/571' (closes #571)
Conflicts:
	docs/changelog.rst
2012-11-06 23:54:08 +01:00
Simon
5f51cffe08 update docs: remove mentions of lesscss compiling and replace with webassets 2012-11-05 21:51:27 +01:00
David Beitey
1b23a4a8e1 Merge remote-tracking branch 'davidjb/decode-html-wp-titles' into wp-import-improvements
Conflicts:
	docs/changelog.rst
2012-11-04 14:09:25 +10:00
David Beitey
528747684d Split post content on all types of line endings for adding paragraph tags 2012-11-04 14:08:58 +10:00
David Beitey
121bc0ad5e Optimize social icons 2012-11-04 12:49:05 +10:00