Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/qqhann/hugo-primer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerry <git@caulfield.me>2020-06-02 16:56:51 +0300
committerGerry <git@caulfield.me>2020-06-02 17:13:25 +0300
commit4e89b2b5c2f4653e71c98cccb9a401c0c51c97e5 (patch)
tree8fce0f3c03be44af0ec5d3a110ce85a3b15e50ad
parentcd1f5abfa7a5dd167db4e5f6c670200f4b8077ea (diff)
Add the ability to include custom css
Without this there is no simple way to add custom styling to the theme.
-rw-r--r--layouts/_default/baseof.html1
-rw-r--r--static/assets/custom_style.css1
2 files changed, 2 insertions, 0 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index a1bc923..3bd42fc 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -43,6 +43,7 @@
<link rel="stylesheet" href="{{ `assets/syntax.css` | relURL }}">
<link rel="stylesheet" href="{{ `assets/primer-build.css` | relURL }}">
<link rel="stylesheet" href="{{ `assets/style.css` | relURL }}">
+ <link rel="stylesheet" href="{{ `assets/custom_style.css` | relURL }}">
</head>
diff --git a/static/assets/custom_style.css b/static/assets/custom_style.css
new file mode 100644
index 0000000..cc61bcb
--- /dev/null
+++ b/static/assets/custom_style.css
@@ -0,0 +1 @@
+/* This is a stand in stylesheet that allows people using this template to add their own custom styles. */