diff --git a/flatfilecms/templates/amp.jinja2 b/flatfilecms/templates/amp.jinja2 index b9949b5..e5451b3 100644 --- a/flatfilecms/templates/amp.jinja2 +++ b/flatfilecms/templates/amp.jinja2 @@ -1,3 +1,4 @@ +{%- import 'macros.jinja2' as macros -%} @@ -11,7 +12,7 @@ {% block body %} - {{content}} + {{content|markdown}} {% endblock %} {% include 'amp-counter.jinja2' %} diff --git a/flatfilecms/templates/base.jinja2 b/flatfilecms/templates/base.jinja2 index 5b2d0f0..d46b4cb 100644 --- a/flatfilecms/templates/base.jinja2 +++ b/flatfilecms/templates/base.jinja2 @@ -1,4 +1,5 @@ -{%- from 'macros.jinja2' import b -%} +{%- import 'macros.jinja2' as macros -%} +{%- import 'forms.jinja2' as forms -%} @@ -9,6 +10,9 @@ + {% if amphtml is defined -%} + + {% endif -%} {{title}} {% block links %} {%- endblock %} diff --git a/flatfilecms/templates/bootstrap/blockquote.jinja2 b/flatfilecms/templates/bootstrap/blockquote.jinja2 new file mode 100644 index 0000000..238b0b7 --- /dev/null +++ b/flatfilecms/templates/bootstrap/blockquote.jinja2 @@ -0,0 +1,6 @@ +
+ + {{blockquote_content}} + + +
diff --git a/flatfilecms/templates/header.jinja2 b/flatfilecms/templates/header.jinja2 index 79ba08e..405f16d 100644 --- a/flatfilecms/templates/header.jinja2 +++ b/flatfilecms/templates/header.jinja2 @@ -1,5 +1,6 @@ - -