@@ -41,20 +41,30 @@ <h3 class="alt-h3 mb-3">{{ site.data.locale[site.locale].footer.subscribe.headin
4141 </ div >
4242
4343 < div class ="border-top text-gray py-5 ">
44- {% capture code %}
45- {% assign code_label = site.data.locale[site.locale].footer.byline.code_label %}
46- < svg height ="20 " class ="octicon octicon-code v-align-middle fill-gray mr-1 " aria-label ="{{ code_label }} " viewBox ="0 0 14 16 " version ="1.1 " width ="17 " role ="img "> < path d ="M9.5 3L8 4.5 11.5 8 8 11.5 9.5 13 14 8 9.5 3zm-5 0L0 8l4.5 5L6 11.5 2.5 8 6 4.5 4.5 3z "> </ path > </ svg >
47- {% endcapture %}
48- {% capture love %}
49- {% assign love_label = site.data.locale[site.locale].footer.byline.love_label %}
50- < svg height ="20 " class ="octicon octicon-heart v-align-middle fill-gray mx-1 " aria-label ="{{love_label}} " viewBox ="0 0 12 16 " version ="1.1 " width ="15 " role ="img "> < path d ="M11.2 3c-.52-.63-1.25-.95-2.2-1-.97 0-1.69.42-2.2 1-.51.58-.78.92-.8 1-.02-.08-.28-.42-.8-1-.52-.58-1.17-1-2.2-1-.95.05-1.69.38-2.2 1-.52.61-.78 1.28-.8 2 0 .52.09 1.52.67 2.67C1.25 8.82 3.01 10.61 6 13c2.98-2.39 4.77-4.17 5.34-5.33C11.91 6.51 12 5.5 12 5c-.02-.72-.28-1.39-.8-2.02V3z "> </ path > </ svg >
51- {% endcapture %}
52- {% capture github %}
53- < svg height ="20 " class ="octicon octicon-mark-github v-align-middle fill-gray mx-1 " aria-label ="GitHub " viewBox ="0 0 16 16 " version ="1.1 " width ="20 " role ="img "> < path d ="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z "> </ path > </ svg >
54- {% endcapture %}
44+ < div >
45+ {% capture code %}
46+ {% assign code_label = site.data.locale[site.locale].footer.byline.code_label %}
47+ < svg height ="20 " class ="octicon octicon-code v-align-middle fill-gray mr-1 " aria-label ="{{ code_label }} " viewBox ="0 0 14 16 " version ="1.1 " width ="17 " role ="img "> < path d ="M9.5 3L8 4.5 11.5 8 8 11.5 9.5 13 14 8 9.5 3zm-5 0L0 8l4.5 5L6 11.5 2.5 8 6 4.5 4.5 3z "> </ path > </ svg >
48+ {% endcapture %}
49+ {% capture love %}
50+ {% assign love_label = site.data.locale[site.locale].footer.byline.love_label %}
51+ < svg height ="20 " class ="octicon octicon-heart v-align-middle fill-gray mx-1 " aria-label ="{{love_label}} " viewBox ="0 0 12 16 " version ="1.1 " width ="15 " role ="img "> < path d ="M11.2 3c-.52-.63-1.25-.95-2.2-1-.97 0-1.69.42-2.2 1-.51.58-.78.92-.8 1-.02-.08-.28-.42-.8-1-.52-.58-1.17-1-2.2-1-.95.05-1.69.38-2.2 1-.52.61-.78 1.28-.8 2 0 .52.09 1.52.67 2.67C1.25 8.82 3.01 10.61 6 13c2.98-2.39 4.77-4.17 5.34-5.33C11.91 6.51 12 5.5 12 5c-.02-.72-.28-1.39-.8-2.02V3z "> </ path > </ svg >
52+ {% endcapture %}
53+ {% capture github %}
54+ < svg height ="20 " class ="octicon octicon-mark-github v-align-middle fill-gray mx-1 " aria-label ="GitHub " viewBox ="0 0 16 16 " version ="1.1 " width ="20 " role ="img "> < path d ="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z "> </ path > </ svg >
55+ {% endcapture %}
5556
56- {% assign byline = site.data.locale[site.locale].footer.byline.format %}
57- {{ byline | replace: "[code]", code | replace: "[love]", love | replace: "[github]", github }}
57+ {% assign byline = site.data.locale[site.locale].footer.byline.format %}
58+ {{ byline | replace: "[code]", code | replace: "[love]", love | replace: "[github]", github }}
59+ </ div >
60+
61+ < div class ="text-small my-6 ">
62+ {% for translation in site.translations %}
63+ < a class ="locale-chooser text-gray-light d-inline-block px-1 "
64+ lang ="{{ translation[0] }} "
65+ href ="{{ page.url | prepend: translation[1].url }}?l={{ translation[0] }} "> {{ translation[1].name }}</ a >
66+ {% endfor %}
67+ </ div >
5868 </ div >
5969 </ div >
6070</ footer >
0 commit comments