-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblog.html
53 lines (52 loc) · 1.53 KB
/
blog.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
---
layout: default
permalink: blog
title: Blog - Julian Vu | Web Designer
---
<section id="blog" class="bg-primary flex-fill">
<section
id="blog-hero"
class="jumbotron jumbotron-fluid text-light bg-primary"
>
<div class="container mt-5 pt-5">
<h1 class="font-weight-bold">Blog and Case Studies</h1>
<div class="my-3"></div>
<h3>
Read about case studies of projects I've worked on in the past, and
learn about how to make a website work for you.
</h3>
</div>
</section>
<section id="post-list">
{% for post in site.posts %}
<div class="container">
<a href="{{ post.url }}" class="text-decoration-none">
<div class="card border-0 bg-primary-2 text-light">
<div class="row no-gutters">
<div class="col-md-6">
<img src="{{ post.featured-image }}" alt="" />
</div>
<div class="col-md-6 align-self-center px-4 py-4 py-md-0">
<h3 class="font-weight-bold">{{ post.title }}</h3>
<p class="text-neutral-light text-uppercase">
{{ post.category }}
</p>
<p>{{ post.excerpt }}</p>
</div>
</div>
</div>
</a>
</div>
{% endfor %}
</section>
</section>
<script>
$(document).ready(function () {
$(".navbar-nav li a").click(function (e) {
$(".navbar-nav li.active").removeClass("active");
var $parent = $(this).parent();
$parent.addClass("active");
e.preventDefault();
});
});
</script>