@@ -29,24 +29,26 @@ <h1 class="posttitle" itemprop="name headline">
29
29
{{ if (and .Site.Params.show_updated (ne .Lastmod .Date)) }}
30
30
(Updated: < time datetime ="{{ .Lastmod }} " itemprop ="dateModified "> {{ .Lastmod.Format $dataFormat }}</ time > )
31
31
{{ end }}
32
- </ div >
32
+ </ div >
33
+ < span >
34
+ | < i class ="far fa-clock "> </ i > {{ math.Round (div (countwords .Content) 220.0) }} min
35
+ </ span >
33
36
{{ if gt .Params.categories 0 }}
34
37
< div class ="article-category ">
35
- < i class ="fas fa-archive "> </ i >
36
- {{ range $index, $value := .Params.categories }}
37
- {{ if gt $index 1 }} {{ print ", " }} {{ end }}
38
- < a class ="category-link " href ="{{ "/categories/" | relLangURL }}{{ $value | urlize }}"> {{ $value }}</ a >
39
- {{ end }}
38
+ < i class ="far fa-archive "> </ i >
39
+ {{ range $index, $value := .Params.categories}}
40
+ {{ if gt $index 0 }} {{ print ", " }}{{ end }}
41
+ < a class ="category-link " href ="{{ "/categories/" | relLangURL }}{{ $value | urlize }}"> {{$value}}</ a > {{ end }}
40
42
</ div >
41
43
{{ end }}
42
44
{{ if gt .Params.tags 0 }}
43
45
< div class ="article-tag ">
44
46
< i class ="fas fa-tag "> </ i >
45
- {{ range $index, $value := .Params.tags }}
46
- {{ if gt $index 1 }} {{ print ", " }} {{ end }}
47
- < a class ="tag-link " href ="{{ "/tags/" | relLangURL }}{{ $value | urlize }}" rel="tag"> {{ $value }}</ a >
47
+ {{ range $index, $value := .Params.tags}}
48
+ {{ if gt $index 0 }} {{ print ", " }}{{ end }}
49
+ < a class ="tag-link " href ="{{ "/tags/" | relLangURL }}{{ $value | urlize }}" rel="tag"> {{$value}}</ a >
48
50
{{ end }}
49
- </ div >
51
+ </ div >
50
52
{{ end }}
51
53
</ div >
52
54
</ header >
@@ -74,9 +76,9 @@ <h1 class="posttitle" itemprop="name headline">
74
76
</ div >
75
77
</ body >
76
78
77
- < link rel ="stylesheet " href ="/lib/font-awesome/css/all.min.css ">
78
- < script src ="/lib/jquery/jquery.min.js "> </ script >
79
- < script src ="/js/main.js "> </ script >
79
+ < link rel ="stylesheet " href ={{ "/lib/font-awesome/css/all.min.css" | relURL }} >
80
+ < script src ={{ "/lib/jquery/jquery.min.js" | relURL }} > </ script >
81
+ < script src ={{ "/js/main.js" | relURL }} > </ script >
80
82
{{ $mathjax := false }}
81
83
{{ if isset .Params "mathjax" }}
82
84
{{ $mathjax = .Params.mathjax }}
0 commit comments