Skip to content

Commit

Permalink
Pelican bootstrapify plugin and Google Analytics addon
Browse files Browse the repository at this point in the history
  • Loading branch information
tobymccann committed Jun 4, 2017
1 parent ac3c8ed commit 61c96aa
Show file tree
Hide file tree
Showing 5 changed files with 78 additions and 106 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[submodule "themes/pelican-alchemy"]
path = themes/pelican-alchemy
url = https://github.com/nairobilug/pelican-alchemy
[submodule "plugins/pelican-bootstrapify"]
path = plugins/pelican-bootstrapify
url = https://github.com/ingwinlu/pelican-bootstrapify
163 changes: 59 additions & 104 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 14 additions & 1 deletion pelicanconf.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,19 @@
'render_math',
'summary',
'neighbors',
'pelican-bootstrapify'
]

BOOTSTRAPIFY = {
'table': ['table', 'table-striped', 'table-hover'],
'img': ['img-fluid'],
'blockquote': ['blockquote'],
}

PYGMENTS_STYLE = 'monokai'

HIDE_AUTHORS = True

# Feed generation is usually not desired when developing
FEED_ALL_ATOM = None
CATEGORY_FEED_ATOM = None
Expand All @@ -38,7 +49,7 @@
AUTHOR_FEED_RSS = None

# Blogroll
LINKS = (('github', 'https://tobymccann.github.com/'),)
LINKS = (('github', 'https://github.com/tobymccann'),)

# Social widget
SOCIAL = (('twitter', '@tobymccann'),
Expand All @@ -49,6 +60,8 @@

DEFAULT_PAGINATION = 10

GOOGLE_ANALYTICS = "UA-60159990-3"

# Uncomment following line if you want document-relative URLs when developing
# RELATIVE_URLS = True

Expand Down
1 change: 1 addition & 0 deletions plugins/pelican-bootstrapify
Submodule pelican-bootstrapify added at b3e3d9
2 changes: 1 addition & 1 deletion publishconf.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@
# Following items are often useful when publishing

#DISQUS_SITENAME = ""
#GOOGLE_ANALYTICS = ""
GOOGLE_ANALYTICS = "UA-60159990-3"

0 comments on commit 61c96aa

Please sign in to comment.