forked from sujaykundu777/devlopr-jekyll
-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.html
57 lines (55 loc) · 1.96 KB
/
home.html
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
---
layout: default
---
<script>
$(document).ready(function() {
$("#typewriteText").typewrite({
actions: [{ type: "{{site.typewrite-text}}" }]
});
});
</script>
<div class="jumbotron" style="text-align: center;">
<img class="author-profile-img" src="/assets/img/profile.png" />
<p class="jumbotron-heading">Hi, I am {{site.author}} !</p>
<p class="lead" id="typewriteText"></p>
{%- include github_star_button.html -%}
{%- include github_fork_button.html -%}
</div>
<div class="col-lg-8 offset-md-2">
<section id="recent-articles">
<div id="recent-articles-header">
<div id="recent-articles-title">
<h1 class="card-title">Recent Articles</h1>
</div>
<div id="recent-articles-show-all">
<a class="btn btn-lg btn-dark" href="/blog"> View All </a>
</div>
</div>
<br />
<ul>
{% for post in site.posts limit:5 %}
<li class="article-card">
<a href="{{post.url}}" class="article-card-link">
<div id="article-container">
<div id="article-img">
<img
src="/assets/img/{{site.author_logo}}"
width="50px"
height="50px"
/>
</div>
<div id="article-link">
<p class="recent-article-link">{{post.title}} <span style="color: #ccc; font-size: 15px;"> - <i><time datetime="{{ post.date }}" itemprop="datePublished">{{ post.date | date: "%b %-d, %Y" }}</time></i></span></p>
</div>
<div id="article-alert">
{% for cat in post.category limit:1 %}
<button class="btn btn-sm btn-dark">{{cat}}</button>
{% endfor %}
</div>
</div>
</a>
</li>
{% endfor %}
</ul>
</section>
</div>