diff options
author | Yuanfei He <lhe868@gmail.com> | 2020-03-26 18:36:24 +0300 |
---|---|---|
committer | Yuanfei He <lhe868@gmail.com> | 2020-07-10 18:12:19 +0300 |
commit | e1492db737a63c035df3cafaf271513bc6759521 (patch) | |
tree | 4a3b654d34b01394fc8460b9c6e115cb6a7f555b | |
parent | ab048df07a201abc58448fb54af4ad09ba8ae7bc (diff) |
update style
-rw-r--r-- | layouts/index.html | 6 | ||||
-rw-r--r-- | static/css/style.css | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/layouts/index.html b/layouts/index.html index 5888784..c4859f9 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -42,9 +42,11 @@ {{ end }} <div class="media-body"> - <h3 class="media-heading"><a href="{{$url}}">{{ .Title }}</a></h3> + <h3 class="media-heading"><a class="title_a" href="{{$url}}">{{ .Title }}</a></h3> <p> <span class="badge" content="{{.Date.Format "Jan 02, 2006"}}" > {{.Date.Format "Jan 02, 2006"}}</span></p> - <p> {{ .Summary | markdownify }}....</p> + <p><span><ion-icon name="ios-podium"></ion-icon>Word Count: {{ .WordCount }} | + <ion-icon name="ios-time"></ion-icon> Reading Time: {{ .ReadingTime }} Minute </span></p> + <p><a href="{{$url}}" class="title_a"> {{ .Summary | markdownify }}....</a></p> {{ partial "post/tag/list" . }} </div> diff --git a/static/css/style.css b/static/css/style.css index dd76b89..d4242c2 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -245,8 +245,10 @@ td { padding-left: 10px; color: #888; } -a{ - color: #888; +.title_a { + /* color: rgb(111,111,111); */ + color: #000; + } a:hover { color: #ed8143; |