mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
move left_footer and co to bottom of settings file
This commit is contained in:
parent
342ab43c6b
commit
1519329dac
1 changed files with 11 additions and 9 deletions
|
@ -134,17 +134,9 @@ settings =
|
||||||
# If you are running ShareLaTeX behind a proxy (like Apache, Nginx, etc)
|
# If you are running ShareLaTeX behind a proxy (like Apache, Nginx, etc)
|
||||||
# then set this to true to allow it to correctly detect the forwarded IP
|
# then set this to true to allow it to correctly detect the forwarded IP
|
||||||
# address and http/https protocol information.
|
# address and http/https protocol information.
|
||||||
|
|
||||||
behindProxy: process.env["SHARELATEX_BEHIND_PROXY"] or false
|
behindProxy: process.env["SHARELATEX_BEHIND_PROXY"] or false
|
||||||
|
|
||||||
if process.env["SHARELATEX_LEFT_FOOTER"]
|
|
||||||
left_footer: process.env["SHARELATEX_LEFT_FOOTER"]
|
|
||||||
|
|
||||||
if process.env["SHARELATEX_RIGHT_FOOTER"]
|
|
||||||
right_footer: process.env["SHARELATEX_RIGHT_FOOTER"]
|
|
||||||
|
|
||||||
if process.env["SHARELATEX_HEADER"]
|
|
||||||
header: process.env["SHARELATEX_HEADER"]
|
|
||||||
|
|
||||||
# Spell Check Languages
|
# Spell Check Languages
|
||||||
# ---------------------
|
# ---------------------
|
||||||
#
|
#
|
||||||
|
@ -419,6 +411,16 @@ settings =
|
||||||
#### OPTIONAL CONFIGERABLE SETTINGS
|
#### OPTIONAL CONFIGERABLE SETTINGS
|
||||||
|
|
||||||
|
|
||||||
|
if process.env["SHARELATEX_LEFT_FOOTER"]?
|
||||||
|
settings.left_footer = process.env["SHARELATEX_LEFT_FOOTER"]
|
||||||
|
|
||||||
|
if process.env["SHARELATEX_RIGHT_FOOTER"]?
|
||||||
|
settings.right_footer = process.env["SHARELATEX_RIGHT_FOOTER"]
|
||||||
|
|
||||||
|
if process.env["SHARELATEX_HEADER"]?
|
||||||
|
settingsheader = process.env["SHARELATEX_HEADER"]
|
||||||
|
|
||||||
|
|
||||||
# Sending Email
|
# Sending Email
|
||||||
# -------------
|
# -------------
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue