Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add Stackoverflow and Telegram svg #11

Merged
merged 2 commits into from
May 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ github = "https://github.com/johndoe"
gitlab = "https://gitlab.com/johndoe"
twitter = "https://twitter.com/johndoe"
linkedin = "https://www.linkedin.com/in/john-doe-b1234567/"
stackoverflow = "https://stackoverflow.com/users/01234567/johndoe"
telegram = "https://t.me/johndoe"
email = "john.doe@gmail.com"

[extra.favicon]
Expand Down
15 changes: 15 additions & 0 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,21 @@ <h1 class="text-xl text-bold">
</svg>
</a>
{% endif %}

{% if config.extra.social.stackoverflow %}
<a href="{{config.extra.social.stackoverflow}}" target="_blank">
<svg xmlns="http://www.w3.org/2000/svg" class="h-12 w-12 text-black dark:text-white" viewBox="0 0 30 30" fill="none" stroke="currentColor">
<path d="M18.69 17.58 9.12 15.6 8.79 17.58l9.57 1.98zm2.53-4.29L13.74 7.13l-1.21 1.54 7.48 6.27zm-1.54 1.98L10.88 11.2l-.77 1.76L18.91 17.14zM17.37 3.94l-1.54 1.21 5.83 7.81 1.54-1.21zm.99 16.06h-9.79v1.98h9.79zm1.98 3.96H6.59V18.02h-1.98v7.81h17.6V18.02h-1.98z"></path>
</svg>
</a>
{% endif %}
{% if config.extra.social.telegram %}
<a href="{{config.extra.social.telegram}}" target="_blank">
<svg xmlns="http://www.w3.org/2000/svg" class="h-12 w-12 text-black dark:text-white" viewBox="0 0 22 22" fill="none" stroke="currentColor">
<path d="M19.35 10.55A8.8 8.8 90 111.75 10.55 8.8 8.8 90 0119.35 10.55ZM10.8657 8.2466C10.0099 8.603 8.2983 9.34 5.7331 10.4576 5.3173 10.6226 5.0984 10.7854 5.0786 10.9438 5.0456 11.2111 5.3811 11.3167 5.8376 11.4608L6.0301 11.5213C6.4789 11.6676 7.0839 11.8381 7.3974 11.8447 7.6834 11.8513 8.0013 11.7347 8.3522 11.4927 10.7491 9.8746 11.9866 9.0573 12.0636 9.0397 12.1186 9.0265 12.1956 9.0111 12.2462 9.0573 12.2979 9.1024 12.2924 9.1893 12.2869 9.2124 12.2539 9.3543 10.9372 10.5775 10.2563 11.2111 10.044 11.4091 9.8933 11.5488 9.8625 11.5807A8.9694 8.9694 90 019.6557 11.7853C9.2377 12.1879 8.9253 12.4893 9.6722 12.9821 10.0319 13.2197 10.3201 13.4144 10.6072 13.6102 10.9196 13.8236 11.232 14.0359 11.6368 14.3021 11.7391 14.3681 11.8381 14.4396 11.9338 14.5078 12.2979 14.7674 12.6268 15.0006 13.0305 14.9632 13.2659 14.9412 13.509 14.7212 13.6322 14.0612 13.9237 12.5025 14.4968 9.1266 14.6288 7.7351A1.5686 1.5686 90 0014.6145 7.3886.3707.3707 90 0014.4891 7.1499.5786.5786 90 0014.1481 7.0476C13.8181 7.0531 13.3088 7.2302 10.8657 8.2466Z"></path>
</svg>
</a>
{% endif %}
</div>

<!-- Content -->
Expand Down
2 changes: 1 addition & 1 deletion templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@
<div class="mt-16 border-t-2 border-gray-300 flex flex-col items-center">
<div class="sm:w-2/3 text-center py-6">
<p class="text-sm text-black dark:text-white font-bold mb-2">
© 2022 blow theme made with <a href="https://tailwindcss.com/" target="_blank">tailwindcss</a> for <a href="https://www.getzola.org/" target="_blank">Zola</a>
© 2023 <a href="https://www.getzola.org/themes/blow/">blow</a> theme made with <a href="https://tailwindcss.com/" target="_blank">tailwindcss</a> for <a href="https://www.getzola.org/" target="_blank">Zola</a>
</p>
</div>
</div>
Expand Down
3 changes: 3 additions & 0 deletions theme.toml
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,11 @@ github = "https://github.com/johndoe"
gitlab = "https://gitlab.com/johndoe"
twitter = "https://twitter.com/johndoe"
linkedin = "https://www.linkedin.com/in/john-doe-b1234567/"
stackoverflow = "https://stackoverflow.com/users/01234567/johndoe"
telegram = "https://t.me/johndoe"
email = "john.doe@gmail.com"


[extra.favicon]
favicon = "/icons/favicon.ico"
favicon_16x16 = "/icons/favicon-16x16.png"
Expand Down