i know it is a lot
This commit is contained in:
parent
59ee3f114a
commit
f1b32bd47e
29 changed files with 415 additions and 570 deletions
|
@ -31,7 +31,7 @@ function rss(xml) {
|
|||
|
||||
// innsert dom
|
||||
const div = document.createElement('div')
|
||||
div.className = 'flex justify-between sm:flex-col-reverse my-4 sm:mb-6 sm:mt-3'
|
||||
div.className = 'flex justify-between'
|
||||
div.innerHTML = template(link, title, date)
|
||||
dom.appendChild(div)
|
||||
|
||||
|
@ -52,6 +52,6 @@ function template() {
|
|||
const a = arguments
|
||||
return `
|
||||
<a href=${a[0]}>${a[1]}</a>
|
||||
<div class="sm:mb-2 sm:text-xs">${format(a[2])}</div>
|
||||
<div>${format(a[2])}</div>
|
||||
`.trim()
|
||||
}
|
|
@ -5,5 +5,5 @@ document.querySelectorAll('.md ul').forEach(v => {
|
|||
}
|
||||
});
|
||||
|
||||
// use custom font family
|
||||
document.querySelector('body').style.setProperty('--global-font-family', '{{ .Site.Params.globalFontFamily }}');
|
||||
// // use custom font family
|
||||
// document.querySelector('body').style.setProperty('--global-font-family', '{{ .Site.Params.globalFontFamily }}');
|
Loading…
Add table
Add a link
Reference in a new issue