mirror of
https://github.com/offen/website.git
synced 2024-11-22 17:10:29 +01:00
do not load offen script in local development
This commit is contained in:
parent
234e4014f2
commit
ede83951d0
@ -38,3 +38,5 @@ TAGS_SAVE_AS = None
|
|||||||
|
|
||||||
# keep this for access to page variable
|
# keep this for access to page variable
|
||||||
DIRECT_TEMPLATES = []
|
DIRECT_TEMPLATES = []
|
||||||
|
|
||||||
|
OFFEN_ACCOUNT_ID = None
|
||||||
|
@ -23,3 +23,5 @@ DELETE_OUTPUT_DIRECTORY = True
|
|||||||
|
|
||||||
#DISQUS_SITENAME = ""
|
#DISQUS_SITENAME = ""
|
||||||
#GOOGLE_ANALYTICS = ""
|
#GOOGLE_ANALYTICS = ""
|
||||||
|
|
||||||
|
OFFEN_ACCOUNT_ID = "5ec8345a-2a45-4eb9-92e5-8d9e5684db58"
|
||||||
|
@ -20,7 +20,9 @@
|
|||||||
<link rel="shortcut icon" type="image/x-icon" href="/theme/images/favicon.ico">
|
<link rel="shortcut icon" type="image/x-icon" href="/theme/images/favicon.ico">
|
||||||
<link rel="stylesheet" type="text/css" href="/theme/css/style.css">
|
<link rel="stylesheet" type="text/css" href="/theme/css/style.css">
|
||||||
|
|
||||||
<script async src="https://script-alpha.offen.dev/script.js" data-account-id="5ec8345a-2a45-4eb9-92e5-8d9e5684db58"></script>
|
{% if OFFEN_ACCOUNT_ID %}
|
||||||
|
<script async src="https://script-alpha.offen.dev/script.js" data-account-id="{{ OFFEN_ACCOUNT_ID }}"></script>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user