From 59f4e43d0458c4ee3210a6e516f659e38dd431c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Salva=20Alc=C3=A1ntara?= Date: Sat, 4 Jan 2020 12:16:37 +0100 Subject: [PATCH 1/2] Minor changes for supporting chroma as well as highlight.js --- layouts/partials/css/main.css | 3 +++ layouts/partials/head_includes.html | 2 ++ 2 files changed, 5 insertions(+) diff --git a/layouts/partials/css/main.css b/layouts/partials/css/main.css index 2d2a7ca6..3240431a 100644 --- a/layouts/partials/css/main.css +++ b/layouts/partials/css/main.css @@ -523,6 +523,9 @@ div.main .content .markdown h6 { margin-bottom: 1rem; letter-spacing: none; } +pre { + overflow-x: auto; +} div.main .content .markdown code, div.main .content .markdown pre { font-family: 'Menlo', monospace; diff --git a/layouts/partials/head_includes.html b/layouts/partials/head_includes.html index 0fe88a44..f91713f3 100644 --- a/layouts/partials/head_includes.html +++ b/layouts/partials/head_includes.html @@ -20,6 +20,8 @@ +{{ else }} + {{ end }} {{ if .Site.Params.progressively }} From 78341066b070d2b31a2c4df049f1a278e3bb3be5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Salva=20Alc=C3=A1ntara?= Date: Sat, 4 Jan 2020 12:41:24 +0100 Subject: [PATCH 2/2] Add missing link to contributing guidelines in README --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 0e194c1c..fc237e13 100644 --- a/README.md +++ b/README.md @@ -71,6 +71,10 @@ hugo -t cocoa-eh If you want a simple blog you can just use the `exampleSite`. The [wiki](https://github.com/mtn/cocoa-eh-hugo-theme/wiki) includes helpful details should you need more. +## Contributing + +See the [contributing guidelines](CONTRIBUTING.md). + ## License Licensed under the MIT License. See the [LICENSE](https://github.com/mtn/cocoa-eh-hugo-theme/blob/master/LICENSE) file for more details.