chore: restructure site
This commit is contained in:
parent
acdb3689d7
commit
c3e9c53a81
80 changed files with 34 additions and 53 deletions
9
posts.js
9
posts.js
|
|
@ -1,9 +0,0 @@
|
|||
let posts = {
|
||||
'first post!': 'first-post'
|
||||
}
|
||||
|
||||
Object.keys(posts).forEach(post => {
|
||||
document.getElementById('posts_list').innerHTML += `
|
||||
<li><a href="/blog.html?post=${posts[post]}">${post}</a></li>
|
||||
`
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue