forked from elementary/blog-template
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·79 lines (69 loc) · 2.17 KB
/
index.html
File metadata and controls
executable file
·79 lines (69 loc) · 2.17 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
---
layout: default
redirect_from:
- /archive/
- /archive
- /archive/1/
- /archive/1
---
<div class="medium">
<div class="heading-grid">
<div class="profile">
<img src="{{ site.baseurl }}/images/amy.webp" alt="Me!" style="max-width: 250px;">
</div>
<div class="details">
<h2>Hi! I'm Amy / Atius</h2>
<p>I'm an aspiring biologist (technically also a Minecraft YouTuber) I'm Vietnamese, but I live in Thailand (Not great at VN tho, blame Thaification). Not very good at most things I do, but I do it anyways. Nothing much else to say!</p>
<p>You've found my website!</p>
<a href="faq" style="font-size: 0">
<button class="faqButton">FAQ</button>
</a>
<a href="links" style="font-size: 0">
<button class="linksButton">Links</button>
</a>
</div>
</div>
</div>
{% unless paginator.previous_page %}
{% comment %}
Newest posts in a unique, Medium-like layout on the first page
{% endcomment %}
<section>
<h2>Blogs</h2>
<div class="latest" style="margin-top: 0">
{% assign post=paginator.posts.first %}
{% include featured.html post=post %}
{% assign post=paginator.posts[1] %}
{% include featured.html post=post %}
{% assign post=paginator.posts[2] %}
{% include featured.html post=post %}
{% assign post=paginator.posts[3] %}
{% include featured.html post=post %}
</div>
</section>
{% endunless %}
<section class="more">
{% if paginator.previous_page %}
<h2>Archive Page {{ paginator.page }}</h2>
{% for post in paginator.posts %}
{% unless post.hidden %}
{% include featured.html post=post %}
{% endunless %}
{% endfor %}
{% else %}
<h2>More Stories</h2>
{% for post in paginator.posts offset: 4 %}
{% unless post.hidden %}
{% include featured.html post=post %}
{% endunless %}
{% endfor %}
{% endif %}
</section>
<nav class="pagination">
{% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path }}" class="previous">Newer</a>
{% endif %}
{% if paginator.next_page %}
<a href="{{ paginator.next_page_path }}" class="next">Older</a>
{% endif %}
</nav>