diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2022-08-27 15:21:44 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2022-08-27 15:21:44 +0200 |
| commit | d6e4091f635a4a3b39a4a73b6f218b6ca1d3ff87 (patch) | |
| tree | 8ca7ea90439ccbb79eccb229bdd592089745281c /themes | |
| parent | 9fcb38b42d71c3752a19866273d15e14b3dfa34d (diff) | |
| download | mitjafelicijan.com-d6e4091f635a4a3b39a4a73b6f218b6ca1d3ff87.tar.gz | |
Fixed paddings
Diffstat (limited to 'themes')
| -rw-r--r-- | themes/simple/layouts/_default/single.html | 2 | ||||
| -rw-r--r-- | themes/simple/openring/openring.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/themes/simple/layouts/_default/single.html b/themes/simple/layouts/_default/single.html index 6e85b1b..d34fabe 100644 --- a/themes/simple/layouts/_default/single.html +++ b/themes/simple/layouts/_default/single.html | |||
| @@ -33,7 +33,7 @@ | |||
| 33 | <ul> | 33 | <ul> |
| 34 | {{ $randomPosts := shuffle (where .Site.RegularPages "Type" "posts") | first 5 }} | 34 | {{ $randomPosts := shuffle (where .Site.RegularPages "Type" "posts") | first 5 }} |
| 35 | {{ range $randomPosts }} | 35 | {{ range $randomPosts }} |
| 36 | <li class="mb-3"> | 36 | <li class="mb-6"> |
| 37 | <time class="block text-gray-400 font-medium text-xs">{{ .Date.Format "Mon Jan 2, 2006" }}</time> | 37 | <time class="block text-gray-400 font-medium text-xs">{{ .Date.Format "Mon Jan 2, 2006" }}</time> |
| 38 | <a href="{{.Permalink}}" itemprop="url" class="hover:bg-yellow-200 font-medium">{{.Title}}</a> | 38 | <a href="{{.Permalink}}" itemprop="url" class="hover:bg-yellow-200 font-medium">{{.Title}}</a> |
| 39 | <p class="text-gray-600 text-sm">{{.Summary}}</p> | 39 | <p class="text-gray-600 text-sm">{{.Summary}}</p> |
diff --git a/themes/simple/openring/openring.html b/themes/simple/openring/openring.html index e3284b2..b1589df 100644 --- a/themes/simple/openring/openring.html +++ b/themes/simple/openring/openring.html | |||
| @@ -4,7 +4,7 @@ | |||
| 4 | 4 | ||
| 5 | <section> | 5 | <section> |
| 6 | {{range .Articles}} | 6 | {{range .Articles}} |
| 7 | <article class="mb-4"> | 7 | <article class="mb-6"> |
| 8 | <a href="{{.Link}}" target="_blank" rel="noopener" class="font-semibold mb-1">{{.Title}}</a> | 8 | <a href="{{.Link}}" target="_blank" rel="noopener" class="font-semibold mb-1">{{.Title}}</a> |
| 9 | <p class="mb-1 text-gray-600 text-sm">{{.Summary}}</p> | 9 | <p class="mb-1 text-gray-600 text-sm">{{.Summary}}</p> |
| 10 | <div class="text-gray-400 text-xs"> | 10 | <div class="text-gray-400 text-xs"> |
