-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
52 lines (49 loc) · 1.35 KB
/
index.html
File metadata and controls
52 lines (49 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
---
layout: default
current: home
class: "home-template"
navigation: True
---
<!-- < default -->
<!-- The tag above means: insert everything in this file
into the {body} of the default.hbs template -->
<!-- The big featured header, it uses blog cover image as a BG if available -->
<header
class="site-header outer {% if page.cover or site.cover %}"
style="background-image: url({{ site.baseurl }}{% if page.cover %}{{
page.cover
}}{% elsif site.cover %}{{
site.cover
}}{% endif %}) {% else %}no-cover{% endif %}"
>
<div class="inner">
<div class="site-header-content">
<h1 class="site-title">
{% if site.logo %}
<img
class="site-logo"
src="{{ site.baseurl }}{{ site.logo }}"
alt="{{ site.title }}"
/>
{% else %}
{{ site.title }}
{% endif %}
</h1>
<h2 class="site-description">
{% if page.description %}{{ page.description }}{% else %}{{
site.description
}}{% endif %}
</h2>
</div>
{% include site-nav.html %}
</div>
</header>
<!-- The main content area -->
<main id="site-main" class="site-main outer" role="main">
<div class="inner">
<div class="post-feed">
<!-- The tag below includes the markup for each post - partials/post-card.hbs -->
{% include post-card.html %}
</div>
</div>
</main>