Merge branch 'master' of https://github.com/ppoffice/hexo-theme-icarus
This commit is contained in:
commit
75b3f4ed9d
|
@ -0,0 +1,66 @@
|
||||||
|
common:
|
||||||
|
archive:
|
||||||
|
one: 'Arkiv'
|
||||||
|
other: 'Arkiv'
|
||||||
|
category:
|
||||||
|
one: 'Kategori'
|
||||||
|
other: 'Kategorier'
|
||||||
|
tag:
|
||||||
|
one: 'Etikett'
|
||||||
|
other: 'Etiketter'
|
||||||
|
post:
|
||||||
|
one: 'Inlägg'
|
||||||
|
other: 'Inlägg'
|
||||||
|
page:
|
||||||
|
one: 'Sida'
|
||||||
|
other: 'Sidor'
|
||||||
|
prev: 'Föregående'
|
||||||
|
next: 'Nästa'
|
||||||
|
widget:
|
||||||
|
follow: 'Följ'
|
||||||
|
recents: 'Senaste'
|
||||||
|
links: 'Länkar'
|
||||||
|
catalogue: 'Katalog'
|
||||||
|
subscribe_email: 'Prenumerera för uppdateringar'
|
||||||
|
subscribe: 'Prenumerera'
|
||||||
|
adsense: 'Marknadsföring'
|
||||||
|
followit: 'follow.it'
|
||||||
|
article:
|
||||||
|
created_at: 'Publicerad %s'
|
||||||
|
updated_at: 'Uppdaterad %s'
|
||||||
|
more: 'Läs mer'
|
||||||
|
comments: 'Kommentarer'
|
||||||
|
read_time: '%s lästid'
|
||||||
|
word_count:
|
||||||
|
one: 'Cirka %d ord'
|
||||||
|
other: 'Cirka %d ord'
|
||||||
|
licensing:
|
||||||
|
author: 'Författare'
|
||||||
|
created_at: 'Publicerad'
|
||||||
|
updated_at: 'Uppdaterad'
|
||||||
|
licensed_under: 'Licensierad under'
|
||||||
|
donate:
|
||||||
|
title: 'Tycker du om den här artikeln? Stöd författaren genom'
|
||||||
|
afdian: 'Afdian.net'
|
||||||
|
alipay: 'Alipay'
|
||||||
|
wechat: 'Wechat'
|
||||||
|
paypal: 'Paypal'
|
||||||
|
patreon: 'Patreon'
|
||||||
|
buymeacoffee: 'Köp mig en kaffe'
|
||||||
|
plugin:
|
||||||
|
backtotop: 'Tillbaka till början'
|
||||||
|
visit_count: '%s besök'
|
||||||
|
visitor_count: 'Besökt av %s användare'
|
||||||
|
cookie_consent:
|
||||||
|
message: Den här hemsidan använder kakor för att förbättra funktionen.
|
||||||
|
dismiss: Jag förstår!
|
||||||
|
allow: Tillåt kakor
|
||||||
|
deny: Avböj kakor
|
||||||
|
link: Lär mer
|
||||||
|
policy: Kakpolicy
|
||||||
|
search:
|
||||||
|
search: 'Sök'
|
||||||
|
hint: 'Skriv någonting...'
|
||||||
|
no_result: 'Inga sökresultat för'
|
||||||
|
untitled: '(Utan titel)'
|
||||||
|
empty_preview: '(Ingen förhandsvisning)'
|
|
@ -169,7 +169,7 @@ module.exports = class extends Component {
|
||||||
{rss ? <link rel="alternate" href={url_for(rss)} title={config.title} type="application/atom+xml" /> : null}
|
{rss ? <link rel="alternate" href={url_for(rss)} title={config.title} type="application/atom+xml" /> : null}
|
||||||
{favicon ? <link rel="icon" href={url_for(favicon)} /> : null}
|
{favicon ? <link rel="icon" href={url_for(favicon)} /> : null}
|
||||||
<link rel="preload" as="style" onload="this.onload=null;this.rel='stylesheet'" href={iconcdn()} />
|
<link rel="preload" as="style" onload="this.onload=null;this.rel='stylesheet'" href={iconcdn()} />
|
||||||
{hlTheme ? <link rel="preload" as="style" onload="this.onload=null;this.rel='stylesheet'" href={cdn('highlight.js', '9.12.0', 'styles/' + hlTheme + '.css')} /> : null}
|
{hlTheme ? <link rel="preload" as="style" onload="this.onload=null;this.rel='stylesheet'" href={cdn('highlight.js', '11.7.0', 'styles/' + hlTheme + '.css')} /> : null}
|
||||||
<link rel="preload" as="style" onload="this.onload=null;this.rel='stylesheet'" href={fontCssUrl[variant]} />
|
<link rel="preload" as="style" onload="this.onload=null;this.rel='stylesheet'" href={fontCssUrl[variant]} />
|
||||||
<link rel="stylesheet" href={url_for('/css/' + variant + '.css')} />
|
<link rel="stylesheet" href={url_for('/css/' + variant + '.css')} />
|
||||||
<Plugins site={site} config={config} helper={helper} page={page} head={true} />
|
<Plugins site={site} config={config} helper={helper} page={page} head={true} />
|
||||||
|
|
|
@ -62,9 +62,9 @@
|
||||||
$('figure.highlight').addClass('hljs');
|
$('figure.highlight').addClass('hljs');
|
||||||
$('figure.highlight .code .line span').each(function() {
|
$('figure.highlight .code .line span').each(function() {
|
||||||
const classes = $(this).attr('class').split(/\s+/);
|
const classes = $(this).attr('class').split(/\s+/);
|
||||||
if (classes.length === 1) {
|
for (const cls of classes) {
|
||||||
$(this).addClass('hljs-' + classes[0]);
|
$(this).addClass('hljs-' + cls);
|
||||||
$(this).removeClass(classes[0]);
|
$(this).removeClass(cls);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue