-
-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
11 changed files
with
313 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,5 @@ env/ | |
*.log | ||
*.pyc | ||
**/.DS_Store | ||
src/templates/en/2019/chapters/ | ||
src/templates/ja/2019/chapters/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
.idea/ | ||
.vscode/ | ||
venv | ||
env | ||
env | ||
src/templates/en/2019/chapters/* | ||
src/templates/ja/2019/chapters/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -190,6 +190,58 @@ | |
"authors", | ||
"developers" | ||
] | ||
}, | ||
"tomayac": { | ||
"name": "Tomas", | ||
"tagline": "Web Almanac PM", | ||
"github": "rviscomi", | ||
"teams": [ | ||
"authors", | ||
"developers" | ||
] | ||
}, | ||
"jeffposnick": { | ||
"name": "Jeff Posnick", | ||
"tagline": "Web Almanac PM", | ||
"github": "rviscomi", | ||
"twitter": "rick_viscomi", | ||
"teams": [ | ||
"authors", | ||
"developers" | ||
] | ||
}, | ||
"addyosmani": { | ||
"name": "Addy Osmani", | ||
"tagline": "Developer Advocate Google", | ||
"gravatar": "[email protected]", | ||
"github": "rviscomi", | ||
"twitter": "rick_viscomi", | ||
"teams": [ | ||
"authors", | ||
"developers" | ||
] | ||
}, | ||
"housseindjirdeh": { | ||
"name": "Jeff Posnick", | ||
"tagline": "Developer Advocate Google", | ||
"gravatar": "[email protected]", | ||
"github": "rviscomi", | ||
"twitter": "rick_viscomi", | ||
"teams": [ | ||
"authors", | ||
"developers" | ||
] | ||
}, | ||
"mathiasbynens": { | ||
"name": "Mathias Bynens", | ||
"tagline": "Web Almanac PM", | ||
"gravatar": "[email protected]", | ||
"github": "rviscomi", | ||
"twitter": "rick_viscomi", | ||
"teams": [ | ||
"authors", | ||
"developers" | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{% for author in authors %} | ||
<li> | ||
<img class="avatar" alt="Author name" src="{{ author.avatar_url }}"> | ||
<div class="info"> | ||
<span class="name">{{ author.name }}</span> | ||
{% if author.twitter or author.github %} | ||
<span class="social"> | ||
{% if author.twitter %} | ||
<a class="twitter" href="https://twitter.com/{{ author.twitter }}"><img src="/static/images/twitter.png" alt="@{{ author.twitter }} on Twitter"></a> | ||
{% endif %} | ||
{% if author.github %} | ||
<a class="github" href="https://github.com/{{ author.github }}"><img src="/static/images/github.png" alt="{{ author.github }}@ on GitHub"></a> | ||
{% endif %} | ||
</span> | ||
{% endif %} | ||
{% if author.tagline %} | ||
<div class="tagline"> | ||
{{ author.tagline }} | ||
</div> | ||
{% endif %} | ||
</div> | ||
|
||
</li> | ||
{% endfor %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<nav id="chapter-navigation"> | ||
{% if prev_chapter %} | ||
<a id="previous-chapter" href="/{{lang}}/{{year}}/{{prev_chapter['title'].lower().replace(' ', '-').replace('/', '')}}"> | ||
<span class="arrow">⌃</span> | ||
<span class="chapter-no"> | ||
Chapter {{ prev_chapter['chapter'] }} | ||
</span> | ||
<span class="chapter-title"> | ||
{{ prev_chapter['title'] }} | ||
</span> | ||
</a> | ||
{% endif %} | ||
|
||
{% if next_chapter %} | ||
<a id="next-chapter" href="/{{lang}}/{{year}}/{{next_chapter['title'].lower().replace(' ', '-').replace('/', '')}}"> | ||
<span class="arrow">⌃</span> | ||
<span class="chapter-no"> | ||
Chapter {{ next_chapter['chapter'] }} | ||
</span> | ||
<span class="chapter-title"> | ||
{{ next_chapter['title'] }} | ||
</span> | ||
</a> | ||
{% endif %} | ||
</nav> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{% for author in authors %} | ||
<li> | ||
<img class="avatar" alt="Author name" src="{{ author.avatar_url }}"> | ||
<div class="info"> | ||
<span class="name">{{ author.name }}</span> | ||
{% if author.twitter or author.github %} | ||
<span class="social"> | ||
{% if author.twitter %} | ||
<a class="twitter" href="https://twitter.com/{{ author.twitter }}"><img src="/static/images/twitter.png" alt="@{{ author.twitter }} on Twitter"></a> | ||
{% endif %} | ||
{% if author.github %} | ||
<a class="github" href="https://github.com/{{ author.github }}"><img src="/static/images/github.png" alt="{{ author.github }}@ on GitHub"></a> | ||
{% endif %} | ||
</span> | ||
{% endif %} | ||
{% if author.tagline %} | ||
<div class="tagline"> | ||
{{ author.tagline }} | ||
</div> | ||
{% endif %} | ||
</div> | ||
|
||
</li> | ||
{% endfor %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<nav id="chapter-navigation"> | ||
{% if prev_chapter %} | ||
<a id="previous-chapter" href="/{{lang}}/{{year}}/{{prev_chapter['title'].lower().replace(' ', '-').replace('/', '')}}"> | ||
<span class="arrow">⌃</span> | ||
<span class="chapter-no"> | ||
Chapter {{ prev_chapter['chapter'] }} | ||
</span> | ||
<span class="chapter-title"> | ||
{{ prev_chapter['title'] }} | ||
</span> | ||
</a> | ||
{% endif %} | ||
|
||
{% if next_chapter %} | ||
<a id="next-chapter" href="/{{lang}}/{{year}}/{{next_chapter['title'].lower().replace(' ', '-').replace('/', '')}}"> | ||
<span class="arrow">⌃</span> | ||
<span class="chapter-no"> | ||
Chapter {{ next_chapter['chapter'] }} | ||
</span> | ||
<span class="chapter-title"> | ||
{{ next_chapter['title'] }} | ||
</span> | ||
</a> | ||
{% endif %} | ||
</nav> |