Browse Source

pb pour faire fonctionner interface baseline et marge

Valentin 1 year ago
parent
commit
7e8a9ef3ff
3 changed files with 20 additions and 8 deletions
  1. 1 1
      .gitignore
  2. 11 0
      README.md
  3. 8 7
      user/themes/carnet-atterrissage/templates/partials/base.html.twig

+ 1 - 1
.gitignore

@@ -1 +1 @@
-user/plugins/
+user/plugins/*

+ 11 - 0
README.md

@@ -16,10 +16,21 @@
 
 `rm -rf user/themes/quark/`
 
+
 ## Deploy
 
 `git clone ...`
 
+`cd carnet_grav`
+
+`docker-compose up -d`
+
+`docker exec -it -u 1000 grav-caddy /bin/sh`
+
+`php bin/gpm selfupgrade`
+
+`php bin/gpm install admin`
+
 
 ## Liens
 

+ 8 - 7
user/themes/carnet-atterrissage/templates/partials/base.html.twig

@@ -33,13 +33,14 @@
 </head>
 <body id="top" class="{{ page.header.body_classes|e }}">
 
-{% block body %}
-    <section id="body">
-        <div class="wrapper padding">
-        {% block content %}{% endblock %}
-        </div>
-    </section>
-{% endblock %}
+        {% block body %}
+            <section id="body">
+                <div class="wrapper padding">
+                {% block content %}{% endblock %}
+                </div>
+            </section>
+        {% endblock %}
+
 
 {% block bottom %}
     {{ assets.js('bottom')|raw }}