hscc

Soure code of <https://hugo.soucy.cc>.
git clone git://soucy.cc/hscc.git
Log | Files | Refs

commit 4a635ee328156e356ab7bdecda3d4e42e947c449
parent a21f77461320597f4c449dfc2eeda2bd9ccf9b84
Author: Hugo Soucy <hugo@soucy.cc>
Date:   Thu, 14 Oct 2021 19:37:38 -0400

Change the image source path to the favicon

Diffstat:
Mtemplates/curriculum-vitae.html | 2+-
Mtemplates/default.html | 14+++++++++++++-
Mtemplates/head.html | 3+++
Mtemplates/posttypes/article.html | 2+-
Mtemplates/posttypes/bookmark.html | 2+-
Mtemplates/posttypes/like.html | 2+-
Mtemplates/posttypes/note.html | 2+-
Mtemplates/posttypes/reply.html | 2+-
Mtemplates/posttypes/repost.html | 2+-
9 files changed, 23 insertions(+), 8 deletions(-)

diff --git a/templates/curriculum-vitae.html b/templates/curriculum-vitae.html @@ -19,7 +19,7 @@ </h2> <link class="u-photo" - href="http://assets.soucy.cc/images/hugosoucy/hs-automne-2012-372x430.jpg" + href="/images/hugosoucy/hs-automne-2012-372x430.jpg" property="foaf:img" /> <dl> diff --git a/templates/default.html b/templates/default.html @@ -1,10 +1,22 @@ <article class="h-entry hentry"> <%- content %> + + <% if collection then %> + <aside> + <p> + <a + href="<%= collection[1].rellink %>"> + <%- collection[1].title -%> + </a> + </p> + </aside> + <% end %> + <footer class="hentry__footer"> <div> <a class="u-url" href="<%- permalink -%>">#</a> Publié le <time class="dt-published" datetime="<%= date -%>T<%= datetime -%>"><%= date -%></time>, - par <a class="p-author author h-card" href="<%= author.uri -%>" rel="author"><i><%= author.name -%></i><img alt="" class="u-photo visuallyhidden" src="http://assets.soucy.cc/images/hugosoucy/favicon/hs-autoportrait-2010-nb-favion-32x32.png"/></a>. + par <a class="p-author author h-card" href="<%= author.uri -%>" rel="author"><i><%= author.name -%></i><img alt="" class="u-photo visuallyhidden" src="/images/hugosoucy/favicon/hs-autoportrait-2010-nb-favion-32x32.png"/></a>. <% if tonumber(os.date('%Y%m%d%H%M%S', time_modification)) > tonumber(time_created) then %> Mise à jour <time class="dt-updated"><%= os.date('%Y-%m-%d %H:%M:%S', time_modification) -%></time>. <% end %> diff --git a/templates/head.html b/templates/head.html @@ -44,4 +44,7 @@ <link href="<%= relme -%>" rel="me" /> <% end %> <link href="/humans.txt" rel="author" type="text/plain" /> + <link + href="/images/hugosoucy/favicon/hs-autoportrait-2010-nb-favion-32x32.png" + rel="icon"/> </head> diff --git a/templates/posttypes/article.html b/templates/posttypes/article.html @@ -25,7 +25,7 @@ <div> <a class="u-url" href="<%- permalink -%>">#</a> Publié le <time class="dt-published" datetime="<%= date -%>T<%= datetime -%>"><%= date -%></time>, - par <a class="p-author author h-card" href="<%= author.uri -%>" rel="author"><i><%= author.name -%></i><img alt="" class="u-photo visuallyhidden" src="http://assets.soucy.cc/images/hugosoucy/favicon/hs-autoportrait-2010-nb-favion-32x32.png"/></a>. + par <a class="p-author author h-card" href="<%= author.uri -%>" rel="author"><i><%= author.name -%></i><img alt="" class="u-photo visuallyhidden" src="/images/hugosoucy/favicon/hs-autoportrait-2010-nb-favion-32x32.png"/></a>. <% if tonumber(os.date('%Y%m%d%H%M%S', time_modification)) > tonumber(time_created) then %> Mise à jour <time class="dt-updated"><%= os.date('%Y-%m-%d %H:%M:%S', time_modification) -%></time>. <% end %> diff --git a/templates/posttypes/bookmark.html b/templates/posttypes/bookmark.html @@ -31,7 +31,7 @@ <div> <a class="u-url" href="<%- permalink -%>">#</a> Publié le <time class="dt-published" datetime="<%= date -%>T<%= datetime -%>"><%= date -%></time>, - par <a class="p-author author h-card" href="<%= author.uri -%>" rel="author"><i><%= author.name -%></i><img alt="" class="u-photo visuallyhidden" src="http://assets.soucy.cc/images/hugosoucy/favicon/hs-autoportrait-2010-nb-favion-32x32.png"/></a>. + par <a class="p-author author h-card" href="<%= author.uri -%>" rel="author"><i><%= author.name -%></i><img alt="" class="u-photo visuallyhidden" src="/images/hugosoucy/favicon/hs-autoportrait-2010-nb-favion-32x32.png"/></a>. <% if tonumber(os.date('%Y%m%d%H%M%S', time_modification)) > tonumber(time_created) then %> Mise à jour <time class="dt-updated"><%= os.date('%Y-%m-%d %H:%M:%S', time_modification) -%></time>. <% end %> diff --git a/templates/posttypes/like.html b/templates/posttypes/like.html @@ -24,7 +24,7 @@ <img alt="" class="u-photo visuallyhidden" - src="http://assets.soucy.cc/images/hugosoucy/favicon/hs-autoportrait-2010-nb-favion-32x32.png"/> + src="/images/hugosoucy/favicon/hs-autoportrait-2010-nb-favion-32x32.png"/> </a> </p> </footer> diff --git a/templates/posttypes/note.html b/templates/posttypes/note.html @@ -40,7 +40,7 @@ <div> <a class="u-url" href="<%- permalink -%>">#</a> Publié le <time class="dt-published" datetime="<%= date -%>T<%= datetime -%>"><%= date -%></time>, - par <a class="p-author author h-card" href="<%= author.uri -%>" rel="author"><i><%= author.name -%></i><img alt="" class="u-photo visuallyhidden" src="http://assets.soucy.cc/images/hugosoucy/favicon/hs-autoportrait-2010-nb-favion-32x32.png"/></a>. + par <a class="p-author author h-card" href="<%= author.uri -%>" rel="author"><i><%= author.name -%></i><img alt="" class="u-photo visuallyhidden" src="/images/hugosoucy/favicon/hs-autoportrait-2010-nb-favion-32x32.png"/></a>. <% if tonumber(os.date('%Y%m%d%H%M%S', time_modification)) > tonumber(time_created) then %> Mise à jour <time class="dt-updated"><%= os.date('%Y-%m-%d %H:%M:%S', time_modification) -%></time>. <% end %> diff --git a/templates/posttypes/reply.html b/templates/posttypes/reply.html @@ -21,7 +21,7 @@ <footer class="hentry__footer"> <div> Publié le <time class="dt-published" datetime="<%= date -%>T<%= datetime -%>"><%= date -%></time>, - par <a class="p-author author h-card" href="<%= author.uri -%>" rel="author"><i><%= author.name -%></i><img alt="" class="u-photo visuallyhidden" src="http://assets.soucy.cc/images/hugosoucy/favicon/hs-autoportrait-2010-nb-favion-32x32.png"/></a>. + par <a class="p-author author h-card" href="<%= author.uri -%>" rel="author"><i><%= author.name -%></i><img alt="" class="u-photo visuallyhidden" src="/images/hugosoucy/favicon/hs-autoportrait-2010-nb-favion-32x32.png"/></a>. <% if tonumber(os.date('%Y%m%d%H%M%S', time_modification)) > tonumber(time_created) then %> Mise à jour <time class="dt-updated"><%= os.date('%Y-%m-%d %H:%M:%S', time_modification) -%></time>. <% end %> diff --git a/templates/posttypes/repost.html b/templates/posttypes/repost.html @@ -21,7 +21,7 @@ <img alt="" class="u-photo visuallyhidden" - src="http://assets.soucy.cc/images/hugosoucy/favicon/hs-autoportrait-2010-nb-favion-32x32.png"/> + src="/images/hugosoucy/favicon/hs-autoportrait-2010-nb-favion-32x32.png"/> </a> </p> </footer>