Made name of blogroll/social widgets configurable.

The BLOGROLL_WIDGET_NAME and SOCIAL_WIDGET_NAME settings are now
respected by notmyidea if they are specified in your config file.
They override the default names of "blogroll" and "links" in the
notmyidea theme.

Used default() in template to simplify template code.

Renaming BLOGROLL setting to LINKS, changed default also.

Updated tests to check 'links' instead of 'blogroll'.

Whoops; links, not link.
This commit is contained in:
Ben Rosser 2015-09-21 00:15:29 -04:00
commit a670a3e040
75 changed files with 79 additions and 74 deletions

View file

@ -724,6 +724,10 @@ Setting name What does it do?
``TWITTER_USERNAME`` Allows for adding a button to articles to encourage
others to tweet about them. Add your Twitter username
if you want this button to appear.
``LINKS_WIDGET_NAME`` Allows override of the name of the links widget.
If not specified, defaults to "links".
``SOCIAL_WIDGET_NAME`` Allows override of the name of the "social" widget.
If not specified, defaults to "social".
======================= =======================================================
In addition, you can use the "wide" version of the ``notmyidea`` theme by