Skip to content
Permalink
Browse files

new highlighter and copy values

  • Loading branch information...
joamag committed Jul 12, 2017
1 parent c2c17e1 commit a501e9c5c6d6c9b4b08d28be3f473ed11ef3d00f
Showing with 12 additions and 1 deletion.
  1. +2 −0 doc/configuration.md
  2. +10 −1 src/appier/res/templates/layout.html.tpl
@@ -126,3 +126,5 @@ name is going to be used instead (default: `None`)
* `LOCALE` (`str`) - The default locale value to be used for language, region and any special variant preferences
* `APPIER_BASE_PATH` (`str`) - Override the default base path for the app (calculated as a relative directory to the main
app file) (default: `None`)
* `HIGHLIGHTER` (`str`) - The name of the syntax highlighting library to be used in the main set of Appier pages,
including the default HTML error page (eg: `prism`, `highlight.js`) (default: `prism`)
@@ -19,7 +19,16 @@
</div>
<div id="footer" class="footer">
{% block footer %}
Brought to you by <a href="http://hive.pt">Hive Solutions</a> using
{% set is_default = False if own.copyright|default(None, True) else True %}
{% set copyright = own.copyright|default(copyright, True)|default("Hive Solutions", True) %}
{% set copyright_url = own.copyright_url|default(copyright_url, True)|default("http://hive.pt" if is_default else None, True) %}
Brought to you by
{% if copyright_url %}
<a href="{{ copyright_url }}">{{ copyright }}</a>
{% else %}
<span>{{ copyright }}</span>
{% endif %}
using
<a href="http://appier.hive.pt">Appier Framework</a>.
{% if own and own.is_devel() %}
<br/>

0 comments on commit a501e9c

Please sign in to comment.
You can’t perform that action at this time.