Skip to content
This repository was archived by the owner on Mar 26, 2023. It is now read-only.

Commit a3248b9

Browse files
committed
more layout and style refinements
1 parent 99a480e commit a3248b9

File tree

6 files changed

+49
-47
lines changed

6 files changed

+49
-47
lines changed

_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ tagline: 'A community-driven weekly newsletter about Swift.org'
1717
timezone: America/Los_Angeles
1818

1919
url: http://www.swiftweekly.github.io
20+
handle: '@swiftlybrief'
2021

2122
author:
2223
name: 'Jesse Squires'

_includes/footer.html

Lines changed: 12 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,14 @@
11

2-
<div class="sharing">
3-
<div class="row">
4-
<hr>
5-
<div class="col-md-4 col-sm-4 col-xs-12 center">
6-
<div class="btn-group btn-group-justified" role="group">
7-
8-
<div class="btn-group" role="group">
9-
<button class="btn btn-default disabled">Share</button>
10-
</div>
11-
12-
<div class="btn-group" role="group">
13-
<a class="btn btn-default" href="https://twitter.com/intent/tweet?text={{ page.title | uri_escape }}%20{{ site.url }}{{ page.url }}" target="_blank">
14-
<i class="fa fa-lg fa-twitter"></i>
15-
</a>
16-
</div>
17-
18-
<div class="btn-group" role="group">
19-
<a class="btn btn-default" href="https://www.facebook.com/sharer.php?u={{ site.url }}{{ page.url }}" target="_blank">
20-
<i class="fa fa-lg fa-facebook"></i>
21-
</a>
22-
</div>
23-
24-
<div class="btn-group" role="group">
25-
<a class="btn btn-default" href="https://plus.google.com/share?url={{ site.url }}{{ page.url }}" target="_blank">
26-
<i class="fa fa-lg fa-google-plus"></i>
27-
</a>
28-
</div>
29-
30-
</div> <!-- btn group -->
31-
</div> <!-- col -->
32-
</div> <!-- row -->
33-
</div> <!-- sharing -->
34-
35-
<div>
36-
<p class="text-muted text-center">
37-
<small>
38-
<strong>Questions? Feedback? Corrections?</strong><br/>
39-
Open an <a href="{{ site.links.issue }}" target="_blank">issue</a> or submit a <a href="{{ site.links.pull }}" target="_blank">pull request</a> on <a href="{{ site.links.github }}" target="_blank">GitHub</a>.
40-
</small>
41-
</p>
2+
<div class="row">
3+
<div class="col-sm-8 col-sm-offset-2 col-md-8 col-md-offset-2">
4+
<hr>
5+
<p class="text-muted text-center">
6+
<small>
7+
<strong>Questions? Feedback? Corrections?</strong><br/>
8+
Open an <a href="{{ site.links.issue }}" target="_blank">issue</a> or
9+
submit a <a href="{{ site.links.pull }}" target="_blank">pull request</a>
10+
on <a href="{{ site.links.github }}" target="_blank">GitHub</a>.
11+
</small>
12+
</p>
13+
</div>
4214
</div>

_layouts/post.html

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
<article class="page">
66
<h1 class="post-title">{{ page.title }} <small class="post-date">{{ page.date | date_to_string }}</small></h1>
7-
87
{% if page.date-updated %}
98
<small class="text-danger"><strong>Updated: {{ page.date-updated }}</strong></small>
109
{% endif %}
@@ -13,3 +12,35 @@ <h1 class="post-title">{{ page.title }} <small class="post-date">{{ page.date |
1312
{{ content }}
1413
</div> <!-- post-content -->
1514
</article>
15+
16+
<div class="sharing">
17+
<div class="row">
18+
<div class="col-md-4 col-sm-4 col-xs-12 center">
19+
<div class="btn-group btn-group-justified" role="group">
20+
21+
<div class="btn-group" role="group">
22+
<button class="btn btn-default disabled">Share</button>
23+
</div>
24+
25+
<div class="btn-group" role="group">
26+
<a class="btn btn-default" href="https://twitter.com/intent/tweet?text={{ page.title | uri_escape }}%20{{ site.url }}{{ page.url }}%20via%20{{ site.handle }}" target="_blank">
27+
<i class="fa fa-lg fa-twitter"></i>
28+
</a>
29+
</div>
30+
31+
<div class="btn-group" role="group">
32+
<a class="btn btn-default" href="https://www.facebook.com/sharer.php?u={{ site.url }}{{ page.url }}" target="_blank">
33+
<i class="fa fa-lg fa-facebook"></i>
34+
</a>
35+
</div>
36+
37+
<div class="btn-group" role="group">
38+
<a class="btn btn-default" href="https://plus.google.com/share?url={{ site.url }}{{ page.url }}" target="_blank">
39+
<i class="fa fa-lg fa-google-plus"></i>
40+
</a>
41+
</div>
42+
43+
</div> <!-- btn group -->
44+
</div> <!-- col -->
45+
</div> <!-- row -->
46+
</div> <!-- sharing -->

css/style.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ hr {
1515
}
1616

1717
a {
18-
color: #fe4b2b;
18+
color: #f05138;
1919
}
2020

2121
a:link {
22-
border-bottom: 1px dotted #fe4b2b;
22+
border-bottom: 1px dotted #f05138;
2323
}
2424

2525
a:visited {
26-
color: #fe4b2b;
26+
color: #f05138;
2727
border-width: 0px;
2828
text-decoration: none;
2929
}

img/swift-logo.png

27.4 KB
Loading

index.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,9 @@ <h1 class="post-title text-center">
1010
<a href="{{ post.url }}">{{ post.title }}</a>
1111
<small class="post-date">{{ post.date | date_to_string }}</small>
1212
</h1>
13-
1413
{% if post.date-updated %}
15-
<small class="text-danger"><strong>Updated: {{ post.date-updated }}</strong></small>
14+
<small class="center text-danger"><strong>Updated: {{ post.date-updated }}</strong></small>
1615
{% endif %}
17-
1816
</article>
1917
{% endfor %}
2018
</div> <!-- post-list -->

0 commit comments

Comments
 (0)