|
| 1 | +{%- set pymc_icon_links = [ |
| 2 | + { "url": "https://bayes.club/@pymc", "icon": "fa-brands fa-mastodon", "name": "Mastodon" }, |
| 3 | + { "url": "https://twitter.com/pymc_devs/", "icon": "fa-brands fa-twitter", "name": "Twitter" }, |
| 4 | + { "url": "https://www.youtube.com/c/PyMCDevelopers", "icon": "fa-brands fa-youtube", "name": "YouTube" }, |
| 5 | + { "url": "https://discourse.pymc.io", "icon": "fa-brands fa-discourse", "name": "Discourse" }, |
| 6 | +] -%} |
1 | 7 | {%- if not theme_icon_links -%}
|
2 |
| - {%- set theme_icon_links = [ |
3 |
| - { "url": "https://github.com/pymc-devs", "icon": "fa-brands fa-github", "name": "GitHub" }, |
4 |
| - { "url": "https://bayes.club/@pymc", "icon": "fa-brands fa-mastodon", "name": "Mastodon" }, |
5 |
| - { "url": "https://twitter.com/pymc_devs/", "icon": "fa-brands fa-twitter", "name": "Twitter" }, |
6 |
| - { "url": "https://www.youtube.com/c/PyMCDevelopers", "icon": "fa-brands fa-youtube", "name": "YouTube" }, |
7 |
| - { "url": "https://discourse.pymc.io", "icon": "fa-brands fa-discourse", "name": "Discourse" }, |
8 |
| - ] -%} |
| 8 | + {%- set theme_icon_links = [{ "url": "https://github.com/pymc-devs", "icon": "fa-brands fa-github", "name": "GitHub" }] + pymc_icon_links -%} |
| 9 | + {%- else -%} |
| 10 | + {%- set theme_icon_links = theme_icon_links + pymc_icon_links -%} |
9 | 11 | {%- endif -%}
|
10 | 12 | {% extends "navbar-icon-links.html" %}
|
0 commit comments