|
1 | | -{% macro render_social_links() %} |
2 | | -<ul class="icon-links"> |
3 | | - {% if theme_x_url %} |
4 | | - <li class="icon-link"> |
5 | | - <a href="{{ theme_x_url }}" aria-label="X (Twitter)"> |
6 | | - <iconify-icon icon="simple-icons:x"></iconify-icon> |
7 | | - </a> |
8 | | - </li> |
9 | | - {% endif %} |
10 | | - {% if theme_bluesky_url %} |
11 | | - <li class="icon-link"> |
12 | | - <a href="{{ theme_bluesky_url }}" aria-label="BlueSky"> |
13 | | - <iconify-icon icon="simple-icons:bluesky"></iconify-icon> |
14 | | - </a> |
15 | | - </li> |
16 | | - {% endif %} |
17 | | - {% if theme_github_url %} |
18 | | - <li class="icon-link"> |
19 | | - <a href="{{ theme_github_url }}" aria-label="GitHub"> |
20 | | - <iconify-icon icon="simple-icons:github"></iconify-icon> |
21 | | - </a> |
22 | | - </li> |
23 | | - {% endif %} |
24 | | - {% if theme_linkedin_url %} |
25 | | - <li class="icon-link"> |
26 | | - <a href="{{ theme_linkedin_url }}" aria-label="LinkedIn"> |
27 | | - <iconify-icon icon="simple-icons:linkedin"></iconify-icon> |
28 | | - </a> |
29 | | - </li> |
30 | | - {% endif %} |
31 | | - {% if theme_discord_url %} |
32 | | - <li class="icon-link"> |
33 | | - <a href="{{ theme_discord_url }}" aria-label="Discord"> |
34 | | - <iconify-icon icon="simple-icons:discord"></iconify-icon> |
35 | | - </a> |
36 | | - </li> |
37 | | - {% endif %} |
38 | | - {% if theme_youtube_url %} |
39 | | - <li class="icon-link"> |
40 | | - <a href="{{ theme_youtube_url }}" aria-label="YouTube"> |
41 | | - <iconify-icon icon="simple-icons:youtube"></iconify-icon> |
42 | | - </a> |
43 | | - </li> |
44 | | - {% endif %} |
45 | | - {% if theme_reddit_url %} |
46 | | - <li class="icon-link"> |
47 | | - <a href="{{ theme_reddit_url }}" aria-label="Reddit"> |
48 | | - <iconify-icon icon="simple-icons:reddit"></iconify-icon> |
49 | | - </a> |
50 | | - </li> |
51 | | - {% endif %} |
52 | | - {%- for item in links -%} |
53 | | - <li class="icon-link"> |
54 | | - <a href="{{ item.link }}" aria-label="{{ item.title }}"{% if item.new_tab %} target="_blank"{% endif %}> |
55 | | - <iconify-icon icon="{{ item.icon }}"></iconify-icon> |
56 | | - </a> |
57 | | - </li> |
58 | | - {%- endfor -%} |
59 | | -</ul> |
60 | | -{% endmacro %} |
61 | | - |
62 | | -{% macro render_foot_links() %} |
63 | | - {%- for section in theme_foot_links -%} |
64 | | - <section class="section-links"> |
65 | | - <h1 class="section-group-caption">{{ section.caption }}</h1> |
66 | | - <ul class="section-group-links"> |
67 | | - {%- for item in section.links -%} |
68 | | - <li class="section-group-link"> |
69 | | - <a href="{{ item.link }}" {% if item.new_tab %} target="_blank"{% endif %}>{{ item.title }}</a> |
70 | | - </li> |
71 | | - {%- endfor -%} |
72 | | - </ul> |
73 | | - </section> |
74 | | - {%- endfor -%} |
75 | | -{% endmacro %} |
76 | | - |
77 | | -{% if theme_foot_links %} |
78 | | -<div class="site-foot has-foot-links"> |
79 | | - <div class="site-foot_content"> |
80 | | - <div class="site-foot_logo"> |
81 | | - {% include "components/site-logo.j2" %} |
82 | | - </div> |
83 | | - <div class="site-foot_links"> |
84 | | - {{ render_foot_links() }} |
85 | | - </div> |
86 | | - </div> |
87 | | - <div class="site-foot_copyright"> |
88 | | - {% if theme_copyright %} |
89 | | - <div>{{ theme_copyright|safe }}</div> |
90 | | - {% endif %} |
91 | | - {{ render_social_links() }} |
92 | | - </div> |
93 | | -</div> |
94 | | -{% else %} |
95 | 1 | <div class="site-foot"> |
96 | 2 | <div class="site-foot_content"> |
97 | 3 | <div class="site-foot_logo"> |
98 | | - {% include "components/site-logo.j2" %} |
| 4 | + {% if site.glyph_logo_light %} |
| 5 | + <img src="{{ site.glyph_logo_light|thumbnail('ss') }}" width="32" height="32" loading="lazy" alt="{{ site.name }}"/> |
| 6 | + {% endif %} |
99 | 7 | </div> |
100 | 8 | <div class="site-foot_links"> |
101 | 9 | <a href="/archive/">{{ translate('archive') }}</a> |
|
104 | 12 | {% endfor %} |
105 | 13 | </div> |
106 | 14 | </div> |
107 | | - <div class="site-foot_copyright"> |
108 | | - {% if theme_copyright %} |
109 | | - <div>{{ theme_copyright|safe }}</div> |
110 | | - {% endif %} |
111 | | - {{ render_social_links() }} |
112 | | - </div> |
113 | 15 | </div> |
114 | | -{% endif %} |
| 16 | +<div class="typlog-foot"> |
| 17 | + <div class="typlog-foot_content">Powered by <a href="https://typlog.com/">Typlog</a>. Theme designed by <a href="https://www.linkedin.com/in/fanzhangux/">Fan Zhang</a>.</div> |
| 18 | +</div> |
0 commit comments