1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2026-01-22 23:01:01 +00:00

Compare commits

...

2 Commits

Author SHA1 Message Date
dependabot[bot]
d971d26881 build(deps): update bootstrap requirement in the prod-deps group
Updates the requirements on [bootstrap](https://github.com/twbs/bootstrap) to permit the latest version.

Updates `bootstrap` to 5.3.7
- [Release notes](https://github.com/twbs/bootstrap/releases)
- [Commits](https://github.com/twbs/bootstrap/compare/v5.3.6...v5.3.7)

---
updated-dependencies:
- dependency-name: bootstrap
  dependency-version: 5.3.7
  dependency-type: direct:production
  dependency-group: prod-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-02 19:54:28 +00:00
Jason Raveling
5f8ec7ffd3 fix: avoid unconfigured social options in sidebar (#2507) 2025-08-31 21:51:01 +08:00
2 changed files with 10 additions and 2 deletions

View File

@@ -52,13 +52,21 @@
{% endunless %}
{% for entry in site.data.contact %}
{%- assign url = null -%}
{% case entry.type %}
{% when 'github', 'twitter' %}
{%- unless site[entry.type].username -%}
{%- continue -%}
{%- endunless -%}
{%- capture url -%}
https://{{ entry.type }}.com/{{ site[entry.type].username }}
{%- endcapture -%}
{% when 'email' %}
{% assign email = site.social.email | split: '@' %}
{%- unless site.social.email -%}
{%- continue -%}
{%- endunless -%}
{%- assign email = site.social.email | split: '@' -%}
{%- capture url -%}
javascript:location.href = 'mailto:' + ['{{ email[0] }}','{{ email[1] }}'].join('@')
{%- endcapture -%}

View File

@@ -27,7 +27,7 @@
},
"dependencies": {
"@popperjs/core": "^2.11.8",
"bootstrap": "^5.3.6"
"bootstrap": "^5.3.8"
},
"devDependencies": {
"@babel/core": "^7.27.1",