-
Notifications
You must be signed in to change notification settings - Fork 103
/
blog.html
47 lines (43 loc) · 1003 Bytes
/
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
---
layout: default
---
{% assign current = page.url | downcase | split: '/' %}
{% if current[1] == 'blog' and page.sidenav != null %}
<div class="container">
<div class="row">
<div class="col-md-12 nofloat center-block ">
<div class="col-sm-3">
{% include {{page.sidenav}} %}
</div>
<div class="col-sm-8 {{ page.type }}">
<h1>{{page.title}}</h1>
{{ content }}
</div>
<div id="toc" class="col-sm-1"></div>
<br />
<a href="http://feeds.feedburner.com/abseilio"
title="Subscribe to Abseil Blog & Tips"
rel="alternate"
type="application/rss+xml">
<img src="//feedburner.google.com/fb/images/pub/feed-icon32x32.png"
alt="Subscribe to the Abseil Blog" style="border:0;">
</img>
</a>
</div>
</div>
</div>
{% else %}
{% if page.type == 'markdown' %}
<div class="container {{ page.type }}">
<div class="row">
<div class="col-md-11 nofloat center-block ">
<div class="col-sm-12">
{{ content }}
</div>
</div>
</div>
</div>
{% else %}
{{ content }}
{% endif %}
{% endif %}