aboutsummaryrefslogtreecommitdiff
path: root/templates/page.html
diff options
context:
space:
mode:
authorsptaule <lecas83@gmail.com>2022-01-29 14:42:09 +0100
committersptaule <lecas83@gmail.com>2022-01-29 14:42:09 +0100
commite6f8f43b6ca5ff00d33b3a539e67eb2255fa1dd0 (patch)
tree1c08c3482e3ac79de1b040d77e3ca3d4f37b8fad /templates/page.html
parente958d4a1d06878100170cd96ce548966e3d5222a (diff)
downloadgaragehq.deuxfleurs.fr-e6f8f43b6ca5ff00d33b3a539e67eb2255fa1dd0.tar.gz
garagehq.deuxfleurs.fr-e6f8f43b6ca5ff00d33b3a539e67eb2255fa1dd0.zip
Improve responsive, icons, refactor search, update readme
Diffstat (limited to 'templates/page.html')
-rwxr-xr-xtemplates/page.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/page.html b/templates/page.html
index eeba7f1..53767ae 100755
--- a/templates/page.html
+++ b/templates/page.html
@@ -5,7 +5,7 @@
{% endblock %}
{% block content %}
- <section class="section">
+ <section id="blogpost-section" class="section">
<div class="mx-auto max-w-7xl">
<div class="grid grid-cols-5 gap-x-12">
<div class="{% if page.extra.toc %}col-span-4{% else %}col-span-full{% endif %}">
@@ -24,11 +24,11 @@
</div>
</a>
</div>
- <div class="w-full text-garage-gray text-sm grid grid-cols-2 bg-gradient-to-r from-gray-100 to-transparent p-3 border-l-4 border-gray-300">
- <div class="flex items-center justify-start">
+ <div class="w-full text-garage-gray text-sm grid grid-cols-1 md:grid-cols-2 bg-gradient-to-r from-gray-100 to-transparent p-3 border-l-4 border-gray-300">
+ <div class="flex items-center justify-start md:justify-start">
{{ macros::page_publish_metadata(page=page) }}
</div>
- <div class="flex items-center justify-end">
+ <div class="flex items-center justify-start md:justify-end">
{{ macros::page_content_metadata(page=page) }}
</div>
<div>
@@ -43,7 +43,7 @@
</div>
</div>
</div>
- <div class="page-content max-w-4xl text-justify mt-12">
+ <div class="page-content max-w-4xl text-justify mt-12 px-5 md:px-12">
{{ page.content | safe }}
</div>
</article>