File tree 3 files changed +53
-12
lines changed
3 files changed +53
-12
lines changed Original file line number Diff line number Diff line change 2
2
</ div>
3
3
4
4
<!-- Footer content -->
5
+ {{ if .Site.Params.ShowBio }}
6
+ < div class ="h-card ">
7
+ < img class ="u-photo " src ="{{ .Site.BaseURL }}{{ .Site.Params.Avatar }} " />
8
+ < div class ="card-content ">
9
+ < h2 class ="card-name "> < a class ="p-name u-url " href ="{{ .Site.BaseURL }} " rel ="me "> {{ .Site.Params.Author }}</ a > </ h2 >
10
+ < p class ="card-subhead ">
11
+ < span class ="p-locality "> {{ .Site.Params.IndieWeb.City }}</ span > ,
12
+ < span class ="p-country-name "> {{ .Site.Params.IndieWeb.Country }}</ span > < br />
13
+ < a class ="u-email " href ="mailto:{{ .Site.Params.IndieWeb.EmailAddress }} "> Email me</ a >
14
+ </ p >
15
+ </ div >
16
+ < p class ="p-note "> {{ .Site.Params.Biography }}</ p >
17
+ </ div >
18
+ {{ end }}
5
19
< div id ="footer ">
6
20
{{ if or (.Prev) (.Next) }}
7
21
< nav id ="article-skip ">
30
44
{{ . }}
31
45
</ p >
32
46
{{ end }}
33
- < p class ="h-card ">
34
- < img class ="u-photo " src ="{{ .Site.BaseURL }}{{ .Site.Params.Avatar }} " />
35
- < a class ="p-name u-url " href ="{{ .Site.BaseURL }} " rel ="me "> {{ .Site.Params.AuthorName }}</ a >
36
- < a class ="u-email " href ="mailto:{{ .Site.Params.IndieWeb.EmailAddress }} "> {{ .Site.Params.IndieWeb.EmailAddress }}</ a > ,
37
- < span class ="p-locality "> {{ .Site.Params.IndieWeb.City }}</ span >
38
- < span class ="p-country-name "> {{ .Site.Params.IndieWeb.Country }}</ span >
39
- </ p >
40
47
</ div >
41
48
42
49
<!-- Close the body/html document -->
Original file line number Diff line number Diff line change @@ -92,6 +92,10 @@ body {
92
92
border-top : 2px solid # 00416a ;
93
93
padding-top : 2px ;
94
94
}
95
+
96
+ .card-content {
97
+ margin-left : 25px ;
98
+ }
95
99
}
96
100
97
101
/* High-DPI mobile styles */
@@ -108,6 +112,10 @@ body {
108
112
blockquote {
109
113
font-size : x-large;
110
114
}
115
+
116
+ .card-content {
117
+ margin-left : 25px ;
118
+ }
111
119
}
112
120
113
121
/* Low-DPI mobile styles */
@@ -124,6 +132,10 @@ body {
124
132
blockquote {
125
133
font-size : x-large;
126
134
}
135
+
136
+ .card-content {
137
+ margin-left : 0 ;
138
+ }
127
139
}
128
140
129
141
# sitelogo {
@@ -221,8 +233,30 @@ p.list-post-date {
221
233
text-align : center;
222
234
}
223
235
224
- p .h-card {
225
- display : none;
236
+ div .h-card {
237
+ box-shadow : 0 5px 5px # ccc ;
238
+ margin : 1em auto;
239
+ min-height : 150px ;
240
+ padding : 25px ;
241
+ width : 90%
242
+ }
243
+
244
+ img .u-photo {
245
+ width : 100px ;
246
+ }
247
+
248
+ .card-content {
249
+ display : inline-block;
250
+ }
251
+
252
+ .card-name {
253
+ margin : 0 ;
254
+ }
255
+
256
+ .card-subhead {
257
+ font-family : 'Fira Sans' ;
258
+ font-size : smaller;
259
+ text-transform : uppercase;
226
260
}
227
261
228
262
blockquote {
Original file line number Diff line number Diff line change 4
4
name = " Indigo"
5
5
license = " MIT"
6
6
licenselink = " https://github.com/AngeloStavrow/indigo/blob/master/LICENSE.md"
7
- description = " An IndieWeb-enabled, lightweight theme for Hugo."
7
+ description = " An IndieWeb-enabled, lightweight blogging theme for Hugo."
8
8
homepage = " https://github.com/AngeloStavrow/indigo"
9
9
tags = [" blog" , " responsive" , " minimal" ]
10
10
features = [" indieweb" , " blog" ]
11
- min_version = " 0.38 "
11
+ min_version = " 0.48 "
12
12
13
13
[author ]
14
14
name = " Angelo Stavrow"
15
- homepage = " http ://angelostavrow.com/"
15
+ homepage = " https ://angelostavrow.com/"
16
16
17
17
# If porting an existing theme
18
18
[original ]
You can’t perform that action at this time.
0 commit comments