This commit is contained in:
Talha Mansoor 2013-09-08 12:55:00 -07:00
commit a482ba41f2
3 changed files with 24 additions and 2 deletions

View file

@ -9,7 +9,8 @@ Next release
longer article-specific
* Deprecate ``FILES_TO_COPY`` in favor of ``STATIC_PATHS`` and
``EXTRA_PATH_METADATA``
* Add support for |tag| and |category| relative links.
* Add support for ``{}`` in relative links syntax, besides ``||``
* Add support for ``{tag}`` and ``{category}`` relative links
3.2.1 and 3.2.2
===============

View file

@ -96,7 +96,7 @@ This metadata can then be accessed in templates such as ``article.html`` via::
Last modified: {{ article.modified }}
{% endif %}
If you want to include metadata in templates outside the article context (e.g., ``base.html``), the ``if`` statement should instead be:
If you want to include metadata in templates outside the article context (e.g., ``base.html``), the ``if`` statement should instead be::
{% if article and article.modified %}
@ -191,3 +191,15 @@ Older themes that referenced the old setting names may not link properly.
In order to rectify this, please update your theme for compatibility by changing
the relevant values in your template files. For an example of complete feed
headers and usage please check out the ``simple`` theme.
Is Pelican only suitable for blogs?
===================================
No. Pelican can be easily configured to create and maintain any type of static site.
This may require little customization of your theme and Pelican configuration.
For example, if you are building a launch site for your product and do not need
tags on your site. You can hide tags by removing relevant html code from your theme.
You can also disable generation of tags pages::
TAGS_SAVE_AS = ''
TAG_SAVE_AS = ''

View file

@ -83,3 +83,12 @@ that you will add ``CNAME`` file to your ``content``, dir and use the
to the ``output`` dir. For example::
FILES_TO_COPY = (('extra/CNAME', 'CNAME'),)
How to add Youtube or Vimeo Videos
==================================
The easiest way is to paste embed code of the video from these sites in your
markup file.
Alternatively, you can also use Pelican plugins like ``liquid_tags`` or ``pelican_youtube``
or ``pelican_vimeo`` to embed videos in your blog.