From 163a470f3fdcc30c6112a51ebd551041eee3ee96 Mon Sep 17 00:00:00 2001 From: Carl Pearson Date: Wed, 27 Jan 2021 08:54:58 -0700 Subject: [PATCH] a bit of custom CSS related to https://github.com/lxndrblz/anatole/issues/129 --- assets/css/custom.css | 5 +++++ config/_default/config.toml | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 assets/css/custom.css diff --git a/assets/css/custom.css b/assets/css/custom.css new file mode 100644 index 0000000..4d181ec --- /dev/null +++ b/assets/css/custom.css @@ -0,0 +1,5 @@ +/* fix post names being too long*/ +.list-with-title .listing .listing-post a { + max-width:90%; + display: inline-block; +} \ No newline at end of file diff --git a/config/_default/config.toml b/config/_default/config.toml index d2ee7c1..9586de1 100644 --- a/config/_default/config.toml +++ b/config/_default/config.toml @@ -27,7 +27,8 @@ profilePicture = "img/avatar.jpg" keywords = "" favicon = "favicons/" # example ["css/custom.css"] -customCss = [] +customCss = ["css/custom.css"] +# customCss = [] # example ["js/custom.js"] customJs = [] mainSections = ["publication"]