mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2025-06-07 08:07:51 +00:00
Fix code-language conversion (json
, plaintext
)
This commit is contained in:
parent
c28b6ce7d1
commit
e880448ba5
@ -41,8 +41,6 @@
|
||||
{{ 'Perl' }}
|
||||
{% when 'php','php3','php4','php5' %}
|
||||
{{ 'PHP' }}
|
||||
{% when 'plaintext', 'text' %}
|
||||
{{ 'Text' }}
|
||||
{% when 'py' %}
|
||||
{{ 'Python' }}
|
||||
{% when 'rb' %}
|
||||
@ -65,7 +63,7 @@
|
||||
{{ 'Vue.js' }}
|
||||
{% when 'yml' %}
|
||||
{{ 'YAML' }}
|
||||
{% when 'css', 'html', 'scss', 'ssh', 'toml', 'xml', 'yaml' %}
|
||||
{% when 'css', 'html', 'scss', 'ssh', 'toml', 'xml', 'yaml', 'json' %}
|
||||
{{ _lang | upcase }}
|
||||
{% else %}
|
||||
{{ _lang | capitalize }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user