diff options
-rw-r--r-- | assets/style.css | 9 | ||||
-rw-r--r-- | layouts/_default/baseof.html | 5 |
2 files changed, 14 insertions, 0 deletions
diff --git a/assets/style.css b/assets/style.css index 95b7692..cd2e018 100644 --- a/assets/style.css +++ b/assets/style.css @@ -60,6 +60,15 @@ table { width: 100%; } +table, +th, +td { + border: 1px solid; + border-collapse: collapse; + border-color: #c9d1d9; + padding: 5px; +} + img { max-width: 100%; } diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 2f06d5a..7aa0605 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -17,6 +17,11 @@ {{ $syntax := resources.Get "syntax.css" | minify }} <link href="{{ $syntax.RelPermalink }}" rel="stylesheet"> + {{ with .Params.style }} + {{ $extra := resources.Get . | minify }} + <link href="{{ $extra.RelPermalink }}" rel="stylesheet"> + {{ end }} + {{ with .OutputFormats.Get "rss" -}} {{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end -}} |