|
2 | 2 |
|
3 | 3 | <footer>
|
4 | 4 | <div class="container pl-lg-4 pr-lg-4">
|
5 |
| - <div class="d-flex justify-content-between align-items-center text-muted ml-md-3 mr-md-3"> |
6 |
| - <div class="footer-left"> |
7 |
| - <p class="mb-0"> |
8 |
| - © {{ 'now' | date: '%Y' }} |
9 |
| - <a href="{{ site.social.links[0] }}">{{ site.social.name }}</a>. |
10 |
| - {% if site.data.locales[include.lang].copyright.brief %} |
11 |
| - <span |
12 |
| - data-toggle="tooltip" |
13 |
| - data-placement="top" |
14 |
| - title="{{ site.data.locales[include.lang].copyright.verbose }}" |
15 |
| - > |
16 |
| - {{- site.data.locales[include.lang].copyright.brief -}} |
17 |
| - </span> |
18 |
| - {% endif %} |
19 |
| - </p> |
20 |
| - </div> |
21 |
| - |
22 |
| - <div class="footer-right"> |
23 |
| - <p class="mb-0"> |
24 |
| - {%- capture _platform -%} |
| 5 | + <div class="d-flex justify-content-center align-items-center text-muted ml-md-3 mr-md-3"> |
| 6 | + <p> |
| 7 | + {%- capture _platform -%} |
25 | 8 | <a href="https://jekyllrb.com" target="_blank" rel="noopener">Jekyll</a>
|
26 |
| - {%- endcapture -%} |
| 9 | + {%- endcapture -%} |
27 | 10 |
|
28 |
| - {%- capture _theme -%} |
| 11 | + {%- capture _theme -%} |
29 | 12 | <a href="https://github.com/cotes2020/jekyll-theme-chirpy" target="_blank" rel="noopener">Chirpy</a>
|
30 |
| - {%- endcapture -%} |
| 13 | + {%- endcapture -%} |
| 14 | + |
| 15 | + {{ site.data.locales[include.lang].meta | replace: ':PLATFORM', _platform | replace: ':THEME', _theme }} |
| 16 | + </p> |
31 | 17 |
|
32 |
| - {{ |
33 |
| - site.data.locales[include.lang].meta |
34 |
| - | default: 'Using the :PLATFORM theme :THEME.' |
35 |
| - | replace: ':PLATFORM', _platform |
36 |
| - | replace: ':THEME', _theme |
37 |
| - }} |
38 |
| - </p> |
39 |
| - </div> |
| 18 | + <p> |
| 19 | + {{- '©' }} |
| 20 | + {{ 'now' | date: '%Y' }} |
| 21 | + <a href="{{ site.social.links[0] }}">{{ site.social.name }}</a>. |
| 22 | + {% if site.data.locales[include.lang].copyright.brief %} |
| 23 | + <span |
| 24 | + data-toggle="tooltip" |
| 25 | + data-placement="top" |
| 26 | + title="{{ site.data.locales[include.lang].copyright.verbose }}" |
| 27 | + > |
| 28 | + {{- site.data.locales[include.lang].copyright.brief -}} |
| 29 | + </span> |
| 30 | + {% endif %} |
| 31 | + </p> |
40 | 32 | </div>
|
41 | 33 | </div>
|
42 | 34 | </footer>
|
0 commit comments