diff --git a/docs/changelog.rst b/docs/changelog.rst index 27938d4d..064c8fd2 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -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 =============== diff --git a/docs/faq.rst b/docs/faq.rst index 2cd363d8..c1d4f5a0 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -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 = '' diff --git a/docs/tips.rst b/docs/tips.rst index 430d6488..1864f0dd 100644 --- a/docs/tips.rst +++ b/docs/tips.rst @@ -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.