Skip to content
Permalink
Browse files

Fix #1656

  • Loading branch information...
ralsina committed Apr 22, 2015
1 parent d478f86 commit 463b99bed72496684a632f8173ed92731bd9672c
Showing with 7 additions and 2 deletions.
  1. +1 −0 CHANGES.txt
  2. +1 −1 nikola/conf.py.in
  3. +5 −1 nikola/plugins/command/bootswatch_theme.py
@@ -15,6 +15,7 @@ Features
Bugfixes
--------

* Don't default to any swatch in bootswatch_theme (Issue #1656)
* Fix ``nikola check -l`` for absolute and full-path URL styles
(Issue #1650)
* Really add missing trailing slashes in ``BASE_URL`` (Issue #1651)
@@ -516,7 +516,7 @@ REDIRECTIONS = ${REDIRECTIONS}
# vim
# vs
# xcode
$ This list MAY be incomplete since pygments adds styles every now and then.
# This list MAY be incomplete since pygments adds styles every now and then.
# CODE_COLOR_SCHEME = 'default'

# If you use 'site-reveal' theme you can select several subthemes
@@ -26,6 +26,7 @@

from __future__ import print_function
import os
import sys

try:
import requests
@@ -57,7 +58,7 @@ class CommandBootswatchTheme(Command):
{
'name': 'swatch',
'short': 's',
'default': 'slate',
'default': '',
'type': str,
'help': 'Name of the swatch from bootswatch.com.'
},
@@ -77,6 +78,9 @@ def _execute(self, options, args):

name = options['name']
swatch = options['swatch']
if not swatch:
LOGGER.error('The -s option is mandatory')
sys.exit(1)
parent = options['parent']
version = ''

0 comments on commit 463b99b

Please sign in to comment.
You can’t perform that action at this time.