2
0
mirror of https://github.com/offen/website.git synced 2024-11-22 01:00:26 +01:00

source offen account id from env

This commit is contained in:
Frederik Ring 2020-01-08 13:45:51 +01:00
parent 77008af86e
commit 35b3520f8d
2 changed files with 2 additions and 3 deletions

View File

@ -1,3 +1,4 @@
import os
from datetime import datetime from datetime import datetime
from calendar import month_name from calendar import month_name
# If your site is available via HTTPS, make sure SITEURL begins with https:// # If your site is available via HTTPS, make sure SITEURL begins with https://
@ -69,4 +70,4 @@ PATREON_URL = 'https://www.patreon.com/offen'
LINKEDIN_URL = 'https://www.linkedin.com/company/hioffen' LINKEDIN_URL = 'https://www.linkedin.com/company/hioffen'
TWITTER_URL = 'https://twitter.com/hioffen' TWITTER_URL = 'https://twitter.com/hioffen'
OFFEN_ACCOUNT_ID = '8f7ee44a-4cd8-47f2-a77e-8c7c98d46b89' OFFEN_ACCOUNT_ID = os.environ.get('OFFEN_ACCOUNT_ID', None)

View File

@ -15,5 +15,3 @@ FEED_ALL_ATOM = 'feeds/all.atom.xml'
DELETE_OUTPUT_DIRECTORY = True DELETE_OUTPUT_DIRECTORY = True
PLUGINS += ['optimize_images'] PLUGINS += ['optimize_images']
OFFEN_ACCOUNT_ID = None