feat: initial commit
This commit is contained in:
commit
acdb3689d7
80 changed files with 2127 additions and 0 deletions
9
posts.js
Normal file
9
posts.js
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
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