-
Notifications
You must be signed in to change notification settings - Fork 0
/
news.html
94 lines (84 loc) · 3.28 KB
/
news.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
---
layout: default
title: "News"
description: "News about MusicBee Remote"
---
{% include news_header.html %}
{% assign post = site.posts.first %}
{% assign content = post.content %}
<div class="container">
<div class="row">
<div class="col-lg-6">
<h3><a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></h3>
<small class="text-muted">{{post.subtitle}}</small>
<p>{{ content | markdownify }}</p>
<p>
Posted by {{post.author}} on
<small class="hidden-xs">{{ post.date | date: "%B %-d, %Y" }}</small>
</p>
</div>
<div class="col-lg-3">
<a class="twitter-timeline" href="https://twitter.com/MusicBeeRemote"
data-widget-id="412339167972954112">Tweets by @MusicBeeRemote</a>
</div>
<div class="col-lg-3">
<div class="fb-like-box large-centered" data-href="https://www.facebook.com/MusicbeeRemote/"
data-colorscheme="light" data-show-faces="false"
data-header="true" data-stream="true" data-show-border="true"></div>
</div>
</div>
</div>
<div id="fb-root"></div>
<script>(function (d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s);
js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=438933332834634";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<script>!function (d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0], p = /^http:/.test(d.location) ? 'http' : 'https';
if (!d.getElementById(id)) {
js = d.createElement(s);
js.id = id;
js.src = p + "://platform.twitter.com/widgets.js";
fjs.parentNode.insertBefore(js, fjs);
}
}(document, "script", "twitter-wjs");</script>
<div class="container index">
<div class="row index all-posts">
<h1 class="header author-header">{{ site.author_name }}</h1>
<h2 class="header" itemprop="headline">All news</h2>
{% for post in site.posts %}
{% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %}
{% capture next_year %}{{ post.previous.date | date: "%Y" }}{% endcapture %}
{% if forloop.first %}
<div class="col-md-12 content-panel articles">
<h2 id="{{ this_year }}-ref">{{ this_year }}</h2>
<ul style="list-style: none;">
{% endif %}
<li>
<hr>
<h3><a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></h3>
<blockquote>
<p>{{ post.excerpt | remove: '
<p>' | remove: '</p>' }}...</p>
</blockquote>
<small class="hidden-xs">{{ post.date | date: "%B %-d, %Y" }}</small>
</li>
{% if forloop.last %}
</ul>
</div>
{% else %}
{% if this_year != next_year %}
</ul>
</div>
<div class="col-md-12 content-panel articles">
<h2 id="{{ next_year }}-ref">{{next_year}}</h2>
<ul style="list-style: none;">
{% endif %}
{% endif %}
{% endfor %}
</div>
</div>