File tree Expand file tree Collapse file tree 9 files changed +37
-12
lines changed Expand file tree Collapse file tree 9 files changed +37
-12
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ baseurl: ""
10
10
host : 0.0.0.0
11
11
port : 4000
12
12
safe : true
13
- timezone : Europe/London
13
+ timezone : US/Pacific
14
14
15
15
include :
16
16
- _pages
Original file line number Diff line number Diff line change 11
11
href : " /events/"
12
12
13
13
- title : " News"
14
- href : " /announcements /"
14
+ href : " /news /"
Original file line number Diff line number Diff line change 43
43
href : " /events/"
44
44
45
45
- title : " News"
46
- href : " /announcements/"
46
+ href : " /news/"
47
+ sub :
48
+ - title : " Announcements"
49
+ href : " /announcements/"
50
+ - title : " Blog"
51
+ href : " /blog/"
Original file line number Diff line number Diff line change 1
1
< article class ="card ">
2
2
< a class ="card-link " href ="{{ include.site }} ">
3
3
< h2 class ="card-title "> {{ include.name }}</ h2 >
4
+ {% if include.logo %}
4
5
< div class ="card-logo-container ">
5
6
< img class ="card-logo " src ="{{ site.url }}{{ site.baseurl }}/img/{{ include.collection }}/{{ include.logo }} " alt ="{{ include.name }} logo ">
6
7
</ div >
8
+ {% endif %}
7
9
< div class ="card-content ">
8
10
{{ include.content }}
9
11
</ div >
Original file line number Diff line number Diff line change 9
9
10
10
< main class ="main_announcements-layout ">
11
11
12
+ {% include subnav.html %}
13
+
12
14
< div class ="main-content_announcements-layout ">
13
15
14
16
< header class ="page-header_announcements-layout ">
Original file line number Diff line number Diff line change 3
3
4
4
{% include head.html %}
5
5
6
- < body class ="blog -layout page_{{ page.title | slugify }} ">
6
+ < body class ="announcements -layout page_{{ page.title | slugify }} ">
7
7
8
8
{% include header.html %}
9
9
10
- < main class ="main_blog -layout ">
10
+ < main class ="main_announcements -layout ">
11
11
12
- < div class =" main-content_blog-layout " >
12
+ {% include subnav.html %}
13
13
14
- < header class ="page-header_blog -layout ">
14
+ < div class ="main-content_announcements -layout ">
15
15
16
- < h1 class ="page-title_blog-layout "> {{ page.title }}</ h1 >
16
+ < header class ="page-header_announcements-layout ">
17
+
18
+ < h1 class ="page-title_announcements-layout "> {{ page.title }}</ h1 >
17
19
18
20
{{ content }}
19
21
20
22
</ header >
21
23
22
- < div class ="posts ">
24
+ < div class ="announcements ">
23
25
26
+ {% assign posts = site.posts | sort: 'date' | reverse %}
24
27
{% for post in site.posts %}
25
28
{% assign date = post.date | date: '%B %-d, %Y' %}
26
29
{% include post.html url=post.url title=post.title excerpt=post.excerpt img=post.img date=date category=post.category %}
Original file line number Diff line number Diff line change 1
1
---
2
2
title : Blog
3
- layout : " center"
4
3
---
5
4
6
5
## Coming Soon
7
-
8
- Come back for posts about ongoing JS Foundation initiatives, events and news about our projects and members.
Original file line number Diff line number Diff line change
1
+ ---
2
+ title : " News"
3
+ ---
4
+
5
+ Keep up with everything going on at the JS Foundation.
6
+
7
+ ## Announcements
8
+
9
+ JS Foundation news including press releases and project/member announcements.
10
+ [ More ...] ( {{site.url}}/announcements/ )
11
+
12
+ ## Blog
13
+
14
+ Deep dives into what's going on at the JS Foundation from project showcases to our work in standards and everything in between.
15
+ [ More ...] ( {{site.url}}/blog/ )
16
+
You can’t perform that action at this time.
0 commit comments