commit 7b3271f82a014047005fe6a81f4e4ca440fd6c88
parent 5266b226a69c27e85a0c06313c367ccfe9fda5ff
Author: Hugo Soucy <hugo.soucy@toumoro.com>
Date: Sat, 21 Mar 2020 13:37:48 -0400
Refactor the soucy.cc home page.
Diffstat:
5 files changed, 22 insertions(+), 9 deletions(-)
diff --git a/content/index.json b/content/index.json
@@ -3,5 +3,5 @@
"datetime":"00:00:00",
"id":"tag:soucy.cc,0000-00-00:0000/00/index",
"template":"default",
- "title":"Site web de la famille de Jean-Marie Soucy"
+ "title":"Soucy création et conception web"
}
diff --git a/content/index.md b/content/index.md
@@ -1,3 +1,13 @@
# Soucy.cc
-Site web de la famille de Jean-Marie Soucy.
+* Services de **conception**, **création** et assainissement web.
+* Ce que [je](//hugo.soucy.cc "depuis presque 20 ans") fais de mieux avec un web **simple** sans abstractions
+ superflues; un web **performant**, **accessible** et
+ **sécuritaire**, basé sur des fondations solides et éprouvées.
+* Dans mon coffre à outils : HTML, CSS, JavaScript, [SVG][1], expérience
+ utilisateur (UX), accessibilité web, pages web statiques, [Grav
+ CMS](//getgrav.org), NextCloud, shell scripts, Lua scripts, OpenBSD,
+ Linux.
+* [hugo@soucy.cc](mailto:hugo@soucy.cc)
+
+[1]: //fr.wikipedia.org/wiki/Scalable_Vector_Graphics "Scalable Vector Graphics"
diff --git a/static/css/styles.css b/static/css/styles.css
@@ -16,7 +16,8 @@
font-size: calc(1vw + 1vh + .5vmin);
}
-html, body {
+html,
+body {
height: 100%;
}
@@ -28,13 +29,16 @@ body {
font: 1rem/1.6 ISO, mono, monospace;
height: auto;
justify-content: center;
+ margin: 0;
min-height: 100%;
padding-left: 1rem;
padding-right: 1rem;
}
img {
+ height: auto;
max-width: 100%;
+ width: auto;
}
main {
diff --git a/templates/default.mustache b/templates/default.mustache
@@ -3,10 +3,10 @@
{{> head }}
<body id="single" class="single">
- <article class="h-entry hentry">
- <div class="e-content p-name single">
+ <main class="h-entry hentry">
+ <article class="e-content p-name single">
{{{ content }}}
- </div>
- </article>
+ </article>
+ </main>
</body>
</html>
diff --git a/templates/partials/head.mustache b/templates/partials/head.mustache
@@ -7,8 +7,7 @@
<base href="{{{ site.baseurl }}}" />
<link rel="stylesheet" href="{{{ site.baseurl }}}/css/styles.css" />
- <link href="{{{ site.baseurl }}}/feed.atom.xml" rel="alternate" title="Feed de tous les contenus" type="application/atom+xml" />
- <link href="{{ permalink }}" hreflang="{{ site.language }}" rel="canonical" />
+ <link href="{{{ permalink }}}" hreflang="{{ site.language }}" rel="canonical" />
<meta name="robots" content="index, follow" />
<meta name="author" content="{{ site.author.name }}" />