Browse Source

a few styling changes and URL fix for bookmarks page

master
jk 5 years ago
parent
commit
9b902b4d52
  1. 4
      themes/nipponalba/layouts/partials/bookmarks.html
  2. 6
      themes/nipponalba/static/css/style.css

4
themes/nipponalba/layouts/partials/bookmarks.html

@ -1,12 +1,12 @@
<h4>Scottish Politics</h4>
{{ range .Site.Data.bookmarks }}
{{ if eq .category "Scottish Politics"}}
<u><a href="{{ .bookmarkof | absURL }}">{{ .name }}</a></u> - {{ .content | markdownify }}
<u><a href="{{ .bookmarkof | absURL }}" target="_blank">{{ .name }}</a></u> - {{ .content | markdownify }}
{{ end }}
{{ end }}
<h4>Vegan Recipes</h4>
{{ range .Site.Data.bookmarks }}
{{ if eq .category "Vegan Recipes"}}
<u><a href="{{ .bookmarkof }}">{{ .name }}</a></u> - {{ .content | markdownify }}
<u><a href="{{ .bookmarkof | absURL }}" target="_blank">{{ .name }}</a></u> - {{ .content | markdownify }}
{{ end }}
{{ end }}

6
themes/nipponalba/static/css/style.css

@ -740,7 +740,7 @@ hr{
width: 70%;
}
.page-top .nav #Responses{
.page-top .nav #Bookmarks{
display:none;
}
.page-top .nav li{
@ -757,14 +757,14 @@ hr{
}
.content {
width:95%;
width:90%;
z-index: 2;
position: absolute;
left:0;
}
.about, .post, .archive, .content, .stream{
width:95%;
width:90%;
margin:0 auto;
}