Skip to content

Commit 91d7da6

Browse files
jesseabordenfedericobucchi
authored andcommitted
Blog Page Redesign (#1151)
* feat(blog-page): Add IP blog redesign work. * chor(blog-page): Revert inadvertent updates to base.html. * feat(): Add more work on blog redesign. * feat(blog-redesign): Refactor JS. Add blog preview image to filtered posts. * chor(blog-redesign): Revert updates to disrelated files. * chor(blog-redesign): Update blog data to display FPO image in hero. * style(blog-redesign): Update blog backdrop blur. * chor(): Add new line to end of prettier ignore.
1 parent ecb085a commit 91d7da6

File tree

157 files changed

+872
-44
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

157 files changed

+872
-44
lines changed

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
assets/javascripts/new-javascripts/vendor/
2+
posts/

_data/new-data/blog/page-data.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
headline: Swift latest news
2+
read-more: Read more
3+
category_titles:
4+
- 'Language'
5+
- 'Developer Tools'
6+
- 'Adopters'
7+
- 'Community'
8+
- 'Digest'

_layouts/new-layouts/base.html

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -184,19 +184,22 @@
184184
<script src="/assets/javascripts/new-javascripts/application.js"></script>
185185
{% if page.url == "/" %}
186186
<script src="/assets/javascripts/new-javascripts/landing.js"></script>
187+
{% endif %} {% if page.url == "/blog/" %}
188+
<script src="/assets/javascripts/new-javascripts/blog.js"></script>
187189
{% endif %}
188-
<!-- metrics -->
190+
<!-- metrics -->
189191
<script>
190-
/* RSID: */
191-
var s_account="awdswiftorg"
192+
/* RSID: */
193+
var s_account = 'awdswiftorg'
192194
</script>
193195
{% if jekyll.environment != 'development' %}
194196
<script src="https://developer.apple.com/assets/metrics/scripts/analytics.js"></script>
195197
<script>
196-
s.pageName= AC && AC.Tracking && AC.Tracking.pageName();
198+
s.pageName = AC && AC.Tracking && AC.Tracking.pageName()
197199

198-
/************* DO NOT ALTER ANYTHING BELOW THIS LINE ! **************/
199-
var s_code=s.t();if(s_code)document.write(s_code)
200+
/************* DO NOT ALTER ANYTHING BELOW THIS LINE ! **************/
201+
var s_code = s.t()
202+
if (s_code) document.write(s_code)
200203
</script>
201204
{% endif %}
202205
<!-- /metrics -->

_posts/2015-12-03-swift-3-api-design.md

Lines changed: 1 addition & 0 deletions

_posts/2015-12-03-swift-linux-port.md

Lines changed: 1 addition & 0 deletions

_posts/2015-12-03-welcome.md

Lines changed: 1 addition & 0 deletions

_posts/2016-01-29-swift-api-transformation.md

Lines changed: 1 addition & 0 deletions

_posts/2016-02-01-swift-CI.md

Lines changed: 1 addition & 0 deletions

_posts/2016-02-08-swift-benchmark-suite.md

Lines changed: 1 addition & 0 deletions

_posts/2016-02-29-swift-commit-access.md

Lines changed: 1 addition & 0 deletions

0 commit comments

Comments
 (0)