mirror of
https://github.com/zyllian/webdog.git
synced 2025-05-10 02:26:42 -07:00
refactoring and new additions wheee
This commit is contained in:
parent
94ba05daf2
commit
3a274932a8
10 changed files with 192 additions and 91 deletions
|
@ -2,8 +2,10 @@
|
|||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="referrer" content="no-referrer">
|
||||
<link rel="stylesheet" href="/styles/index.css">
|
||||
<title>{{title}}</title>
|
||||
{{{head}}}
|
||||
</head>
|
||||
|
||||
|
@ -18,9 +20,11 @@
|
|||
<a href="/images/">images</a> |
|
||||
<a href="https://github.com/zyllian/zyllian.github.io" rel="noopener noreferrer">source</a>
|
||||
</header>
|
||||
<main class="page">
|
||||
{{{page}}}
|
||||
</main>
|
||||
<div id="content">
|
||||
<main class="page">
|
||||
{{{page}}}
|
||||
</main>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
12
site/templates/extras/index-injection.hbs
Normal file
12
site/templates/extras/index-injection.hbs
Normal file
|
@ -0,0 +1,12 @@
|
|||
<hr />
|
||||
<div class="index-info">
|
||||
<h3>most recent blog posts</h3>
|
||||
<div class="blog-post-list">
|
||||
{{#each resources}}
|
||||
<div class="post">
|
||||
<p class="title"><a href="/blog/{{id}}">{{title}}</a></p>
|
||||
<p class="short-desc">{{desc}}</p>
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue