tangled
alpha
login
or
join now
trnck.dev
/
blog
0
fork
atom
blog.trnck.dev
0
fork
atom
overview
issues
pulls
pipelines
Merge branch 'master' into add-social_media-support
Brandon Rosage
7 years ago
60bb2abb
a5d0a3d4
+13
-3
5 changed files
expand all
collapse all
unified
split
_includes
post-card.html
repo-card.html
_layouts
default.html
post.html
assets
styles.scss
+1
-1
_includes/post-card.html
···
1
1
<div class="height-full text-left {% if site.style == 'dark' %}box-shadow{% else %}border border-gray-light{% endif %} bg-white rounded-1 p-3">
2
2
<div class="d-flex flex-justify-between flex-items-start mb-1">
3
3
<h1 class="f4 lh-condensed mb-1">
4
4
-
<a href="{{ post.url }}">
4
4
+
<a href="{{ site.baseurl }}{{ post.url }}">
5
5
{{ post.title }}
6
6
</a>
7
7
</h1>
+4
_includes/repo-card.html
···
11
11
<div class="text-gray mb-2 ws-normal">{{ repository.description }}</div>
12
12
</div>
13
13
<div class="d-flex f6">
14
14
+
{% if repository.language %}
15
15
+
<span class="repo-language-color ml-0 mr-1" style="background-color:{{ site.data.colors[repository.language]["color"] }}"></span>
16
16
+
<span class="mr-3" itemprop="programmingLanguage">{{ repository.language }}</span>
17
17
+
{% endif %}
14
18
{% if repository.stargazers_count %}
15
19
<a href="{{ repository.html_url }}/stargazers" class="d-inline-block link-gray mr-4">
16
20
<svg class="octicon octicon-star mr-1" viewBox="0 0 14 16" version="1.1" width="14" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M14 6l-4.9-.64L7 1 4.9 5.36 0 6l3.6 3.26L2.67 14 7 11.67 11.33 14l-.93-4.74L14 6z"></path></svg>{{ repository.stargazers_count }}
+1
-1
_layouts/default.html
···
20
20
<div class="mx-auto" style="max-width: 900px;">
21
21
<div class="f4 {% if site.style == 'dark' %}text-white{% endif %} mb-6">
22
22
<div class="f4 {% if site.style == 'dark' %}text-white{% endif %}">
23
23
-
<p class="f5"><a href="/" class="d-flex flex-items-center {% if site.style == 'dark' %}text-white{% endif %}">{% octicon chevron-left height:16 class:"mr-2 v-align-middle" fill:{{ icon_color }} aria-label:Home %}Home</a></p>
23
23
+
<p class="f5"><a href="{{ site.url }}{{ site.baseurl | append:'/' }}" class="d-flex flex-items-center {% if site.style == 'dark' %}text-white{% endif %}">{% octicon chevron-left height:16 class:"mr-2 v-align-middle" fill:{{ icon_color }} aria-label:Home %}Home</a></p>
24
24
<h1 class="f00-light lh-condensed mb-5">{{ page.title }}</h1>
25
25
{{ content }}
26
26
</div>
+1
-1
_layouts/post.html
···
43
43
<div class="mx-auto" style="max-width: 900px;">
44
44
<div class="f4 {% if site.style == 'dark' %}text-white{% endif %} mb-6">
45
45
<div class="f4 {% if site.style == 'dark' %}text-white{% endif %}">
46
46
-
<p class="f5"><a href="/" class="d-flex flex-items-center {% if site.style == 'dark' %}text-white{% endif %}">{% octicon chevron-left height:16 class:"mr-2 v-align-middle" fill:{{ icon_color }} aria-label:Home %}Home</a></p>
46
46
+
<p class="f5"><a href="{{ site.url }}{{ site.baseurl | append:'/' }}" class="d-flex flex-items-center {% if site.style == 'dark' %}text-white{% endif %}">{% octicon chevron-left height:16 class:"mr-2 v-align-middle" fill:{{ icon_color }} aria-label:Home %}Home</a></p>
47
47
<h1 class="f00-light lh-condensed">{{ page.title }}</h1>
48
48
<p class="{% if site.style == 'dark' %}text-white{% else %}text-gray{% endif %} mb-5">Published {{ page.date | date: "%b %d, %Y"}}</p>
49
49
{{ post_body }}
+6
assets/styles.scss
···
27
27
.highlight {
28
28
margin-bottom: 16px;
29
29
}
30
30
+
31
31
+
blockquote {
32
32
+
color: #6a737d;
33
33
+
border-left: 2px solid #959da5;
34
34
+
padding-left: 16px;
35
35
+
}
30
36
}