61 lines
2 KiB
Markdown
61 lines
2 KiB
Markdown
# theme-jeffmackinnon.com
|
|
|
|
|
|
|
|
The base pelican theme for my site, `jeffmackinnon.com <https://jeffmackinnon.com>`__
|
|
|
|
There are some variables that you can add to the ``pelicanconf.py`` file that make things look good.
|
|
|
|
```
|
|
|
|
# ####################################################
|
|
# JeffTheme variables
|
|
# ####################################################
|
|
|
|
#DIRECT_TEMPLATES = ['posts'] # If you already have a direct templates just add posts.
|
|
|
|
#THEME_COLOUR = 'css-blue' # Leave commented
|
|
|
|
## The search things
|
|
DUCKDUCKGOSEARCHURL = 'jeffmackinnon.com'
|
|
BIO_IMAGE = 'jeffmackinnon.jpg' # Make sure that this is in the "images" folder
|
|
SHOWCATEGORIES = True
|
|
SHOWTAGS = False
|
|
|
|
## The Social Things
|
|
SOCIAL_SHARE = True
|
|
#SOCIAL_TWITTER = '<username>'
|
|
#SOCIAL_GITHUB = '<username>'
|
|
#SOCIAL_LINKEDIN = '<username>'
|
|
#SOCIAL_FLICKR = '<username>'
|
|
#SOCIAL_MASTODON = 'https://<instance>/@<username>'
|
|
MICROBLOG = 'microblog'
|
|
MASTODON_COMMENTS = False
|
|
TWITTER_COMMENTS = True
|
|
COMMENTS = False
|
|
|
|
|
|
#Contact Things
|
|
#CONTACT_PHONE_NUM = '+1 (902) 237-9984'
|
|
#CONTACT_EMAIL = 'jeff@jeffmackinnon.com'
|
|
CONTACT_HOME_ADDR = 'Halifax, NS'
|
|
#CONTACT_BUSINESS_ADDR =''
|
|
|
|
SITELICENSE = '<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License</a>.'
|
|
TRACKING = False
|
|
IMAGETRACKINGCODE = ''
|
|
|
|
# This is for https://fediring.net/#table-of-members and is located in the sidebar
|
|
FEDIRING = False
|
|
FEDIRINGRANDOM = True
|
|
FEDIRINGURL = '' # This is needed because the SITEURL includes the https:// and Fediring doesn't want that part.
|
|
|
|
COMMENTS = False
|
|
|
|
|
|
# That's all folks
|
|
# ####################################################
|
|
|
|
```
|
|
|
|
You can copy the entire thing into your `pelicanconf.py` file and make the changes for your site.
|