mirror of https://github.com/jpanther/congo.git
🥅 Catch icon resource not found error
parent
3b5b93d965
commit
a70353d5c0
|
@ -37,4 +37,3 @@ sharing:
|
|||
|
||||
shortcode:
|
||||
recent_articles: "Kürzlich"
|
||||
icon_none: "Icon nicht gefunden."
|
||||
|
|
|
@ -37,4 +37,3 @@ sharing:
|
|||
|
||||
shortcode:
|
||||
recent_articles: "Recent"
|
||||
icon_none: "Icon not found."
|
||||
|
|
|
@ -37,4 +37,3 @@ sharing:
|
|||
|
||||
shortcode:
|
||||
recent_articles: "Reciente"
|
||||
icon_none: "Icono no encontrado."
|
||||
|
|
|
@ -37,4 +37,3 @@ sharing:
|
|||
|
||||
shortcode:
|
||||
recent_articles: "Recent"
|
||||
icon_none: "Icone non trouvée."
|
||||
|
|
|
@ -37,4 +37,3 @@ sharing:
|
|||
|
||||
shortcode:
|
||||
recent_articles: "Recente"
|
||||
icon_none: "Ícone não encontrado."
|
||||
|
|
|
@ -36,4 +36,3 @@ sharing:
|
|||
|
||||
shortcode:
|
||||
recent_articles: "最近的文章"
|
||||
icon_none: "未找到图标。"
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
{{ $icon.Content | safeHTML }}
|
||||
</span>
|
||||
{{ else }}
|
||||
<em>{{ i18n "shortcode.icon_none" }}</em>
|
||||
{{ errorf `[CONGO] Shortcode "icon" error in "%s": Resource "%s" not found. Check the path is correct or remove the shortcode.` .Page.Path (printf "icons/%s.svg" ($.Get 0)) }}
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in New Issue