diff options
author | Alex Auvolat <alex@adnab.me> | 2022-01-31 11:54:22 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-01-31 11:54:22 +0100 |
commit | 937245b202c200e1405209c59893d459b2194d2f (patch) | |
tree | 38dc667fb81be27b3b21e5cfccbf36d5fbc8fefd /templates/page.html | |
parent | 4dde9b0855ad8edf5eef72036ee788aeeb5cd775 (diff) | |
parent | e5beba07d6b9e102cc28c7474b9db0ae11ec3c79 (diff) | |
download | garagehq.deuxfleurs.fr-937245b202c200e1405209c59893d459b2194d2f.tar.gz garagehq.deuxfleurs.fr-937245b202c200e1405209c59893d459b2194d2f.zip |
Merge branch 'master' of git.deuxfleurs.fr:sptl/garage_website
Diffstat (limited to 'templates/page.html')
-rwxr-xr-x | templates/page.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/page.html b/templates/page.html index eeba7f1..67081b7 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 %}"> @@ -18,17 +18,17 @@ {% if page.description %} <p class="subtitle my-2 text-gray-600 italic text-sm">{{ page.description }}</p> {% endif %} - <a id="back-to-blog-posts" class="absolute top-0 -left-12" href="/blog" title="Back to blog posts"> + <a id="back-to-blog-posts" class="absolute top-0 -left-12" href="/blog/" title="Back to blog posts"> <div class="w-10 overflow-hidden inline-block group"> <div class="h-16 bg-garage-gray group-hover:bg-garage-orange transform -rotate-45 origin-top-right"></div> </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> |