Guess MIME type when deploying with s3cmd

This commit is contained in:
Jez Cope 2017-11-07 14:27:15 +00:00
parent 7bcbccacc2
commit 3ff7157a67
1 changed files with 10 additions and 10 deletions

20
conf.py
View File

@ -600,7 +600,7 @@ REDIRECTIONS = []
# in a `nikola deploy` command as you like.
DEPLOY_COMMANDS = {
'default': [
"s3cmd sync .output/ s3://erambler.co.uk",
"s3cmd sync --guess-mime-type .output/ s3://erambler.co.uk",
"aws cloudfront create-invalidation --distribution-id E3E9R6D3K2FTI2 --paths '/*'",
]
}
@ -1030,18 +1030,18 @@ PRETTY_URLS = True
# Want to use KaTeX instead of MathJax? While KaTeX may not support every
# feature yet, it's faster and the output looks better.
# USE_KATEX = False
USE_KATEX = True
# KaTeX auto-render settings. If you want support for the $.$ syntax (wihch may
# conflict with running text!), just use this config:
# KATEX_AUTO_RENDER = """
# delimiters: [
# {left: "$$", right: "$$", display: true},
# {left: "\\\[", right: "\\\]", display: true},
# {left: "$", right: "$", display: false},
# {left: "\\\(", right: "\\\)", display: false}
# ]
# """
KATEX_AUTO_RENDER = """
delimiters: [
{left: "$$", right: "$$", display: true},
{left: "\\\[", right: "\\\]", display: true},
{left: "$", right: "$", display: false},
{left: "\\\(", right: "\\\)", display: false}
]
"""
# Do you want to customize the nbconversion of your IPython notebook?
# IPYNB_CONFIG = {}