File tree Expand file tree Collapse file tree 4 files changed +146
-264
lines changed
src/dotty/tools/dottydoc/staticsite Expand file tree Collapse file tree 4 files changed +146
-264
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
layout: main
3
3
---
4
- < main >
5
- < div id ="post-title ">
6
- < h3 id ="post-date ">
7
- {{ page.date | date: '%B %d, %Y' }}
8
- </ h3 >
9
- < h1 id ="main-title "> {{ page.title }}</ h1 >
4
+ < main class ="container ">
5
+ < header >
6
+ < h1 class ="post-title "> {{ page.title }}</ h1 >
7
+ < div class ="byline ">
8
+ < time class ="date ">
9
+ < i class ="far fa-calendar-alt "> </ i >
10
+ {{ page.date | date: "%Y-%m-%d" }}
11
+ </ time >
12
+ < span class ="author ">
13
+ < i class ="fas fa-pen-nib "> </ i >
14
+ {{ page.author }}
15
+ </ span >
16
+ </ div >
10
17
{% if page.subTitle %}
11
- < h2 id ="sub-title "> {{ page.subTitle }}</ h2 >
18
+ < div class ="subtitle ">
19
+ {{ page.subTitle }}
20
+ </ div >
12
21
{% endif %}
13
- </ div >
22
+ </ header >
14
23
15
- < div id ="blog-post-container ">
16
- {{ content }}
17
- </ div >
24
+ {{ content }}
18
25
19
- {% if page.author %}
20
- < div id ="post-footer ">
21
- {% if page.authorImg %}
22
- < img id ="author-image " src ="{{ site.baseurl }}/{{ page.authorImg }} ">
23
- {% endif %}
24
- < span id ="post-author ">
25
- {% if page.authorImg == null %}- {% endif %}{{ page.author }}
26
+ {% if page.author and page.authorImg %}
27
+ < footer >
28
+ < img id ="author-img " src ="{{ site.baseurl }}/{{ page.authorImg }} ">
29
+ < span id ="author-signature ">
30
+ {{ page.author }}
26
31
</ span >
27
- </ div >
32
+ </ footer >
28
33
{% endif %}
29
-
30
34
</ main >
You can’t perform that action at this time.
0 commit comments