mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-17 18:22:33 +00:00
Fix the missing url_for
This commit is contained in:
parent
45d6e0413d
commit
52111f750a
@ -2,7 +2,7 @@
|
||||
<div class="beian">
|
||||
{{- next_url('http://www.beian.miit.gov.cn', theme.footer.beian.icp + ' ') }}
|
||||
{%- if theme.footer.beian.gongan_icon_url %}
|
||||
<img src="{{ theme.footer.beian.gongan_icon_url }}" style="display: inline-block;">
|
||||
<img src="{{ url_for(theme.footer.beian.gongan_icon_url) }}" style="display: inline-block;">
|
||||
{%- endif %}
|
||||
{%- if theme.footer.beian.gongan_id and theme.footer.beian.gongan_num %}
|
||||
{{- next_url('http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=' + theme.footer.beian.gongan_id, theme.footer.beian.gongan_num + ' ') }}
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
|
||||
<div class="site-meta">
|
||||
{%- if theme.custom_logo and theme.scheme === 'Muse' %}
|
||||
<img class="custom-logo-image" src="{{ theme.custom_logo }}" alt="{{ title }}">
|
||||
<img class="custom-logo-image" src="{{ url_for(theme.custom_logo) }}" alt="{{ title }}">
|
||||
{%- endif %}
|
||||
|
||||
<a href="{{ config.root }}" class="brand" rel="start">
|
||||
@ -23,7 +23,7 @@
|
||||
<p class="site-subtitle" itemprop="description">{{ subtitle }}</p>
|
||||
{%- endif %}
|
||||
{%- if theme.custom_logo and (theme.scheme === 'Gemini' or theme.scheme === 'Pisces') %}
|
||||
<img class="custom-logo-image" src="{{ theme.custom_logo }}" alt="{{ title }}">
|
||||
<img class="custom-logo-image" src="{{ url_for(theme.custom_logo) }}" alt="{{ title }}">
|
||||
{%- endif %}
|
||||
</div>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user