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

github.com/bake/solar-theme-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbake <bake@192k.pw>2019-05-24 11:45:05 +0300
committerbake <bake@192k.pw>2019-05-24 11:45:05 +0300
commit82872c9caee07d96b1234bbcfc62b0ad66a2d951 (patch)
treefa8827f544b84ab57bef79bf8a5c87e3570fb637
parent802a2b612ae5c6122662fcecee3b7f3e2633282f (diff)
Don't show a logo initially
-rw-r--r--.gitignore1
-rw-r--r--README.md8
-rwxr-xr-xstatic/css/style.css2
-rwxr-xr-xstatic/img/dag.svg1
-rwxr-xr-xstatic/img/logo.svg1
5 files changed, 9 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore
index d8b6757..9e24200 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
.DS_Store
exampleSite/content/
exampleSite/resources/
+exampleSite/static/
diff --git a/README.md b/README.md
index a2d83e6..d3412f4 100644
--- a/README.md
+++ b/README.md
@@ -1,8 +1,12 @@
# Solar Theme for Hugo
-A minimalistic theme for [Hugo](https://gohugo.io/) blogs, fork of [Solar Theme for Ghost](https://github.com/mattvh/solar-theme-ghost).
+A minimalistic theme for [Hugo](https://gohugo.io/) blogs, fork of
+[Solar Theme for Ghost](https://github.com/mattvh/solar-theme-ghost).
-It offers two color schemes: `light` and `dark`. Additional HTML can be injected just before `</head>` and `</body>` by creating a `header.html` or `footer.html` inside `layouts/partials/`.
+It offers two color schemes: `light` and `dark`. Additional HTML can be injected
+just before `</head>` and `</body>` by creating a `header.html` or `footer.html`
+inside `layouts/partials/`. The default (empty) logo can be overwritten by
+creating a `logo.svg` in `static/img/`.
## Screenshot
diff --git a/static/css/style.css b/static/css/style.css
index 0615390..bb725e8 100755
--- a/static/css/style.css
+++ b/static/css/style.css
@@ -277,7 +277,7 @@ h3 {
width: 650px;
padding-left: 150px;
margin: 40px auto 50px auto;
- background: url(../img/dag.svg) no-repeat center left;
+ background: url(/img/logo.svg) no-repeat center left;
background-size: auto 100%;
}
#header h1 {
diff --git a/static/img/dag.svg b/static/img/dag.svg
deleted file mode 100755
index 706dd38..0000000
--- a/static/img/dag.svg
+++ /dev/null
@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="314.812" height="246.602" viewBox="0 0 314.81198 246.60201" enable-background="new 0 0 841.89 595.28"><path d="M355.988 370.098l-2.887-10.302 1.461.195c.109.015 11.04 1.455 25.061 1.455 21.035 0 48.414-3.158 59.394-18.204 4.549-6.231 6.092-10.896 4.583-13.862-1.502-2.958-6.139-4.459-13.776-4.459-26.467 0-76.13 17.665-78.415 19.819-.418.497-1.096 1.187-1.922 1.187-.428 0-.823-.186-1.115-.522-1.061-1.229-.632-5.081-.397-6.681l.079-.541.504-.213c.632-.265 63.529-26.597 97.407-26.597 7.143 0 12.642 1.173 16.342 3.486 7.396 4.621 11.007 9.869 10.737 15.599-.489 10.38-14.042 19.389-19.224 21.984-13.824 6.927-93.61 17.119-97 17.55l-.832.106zm-.229-8.009l1.646 5.872c3.651-.473 18.789-2.454 36.084-5.07-16.826 1.259-32.915-.258-37.73-.802zm74.064-39.109c8.428 0 13.646 1.858 15.507 5.521 1.893 3.723.339 8.918-4.744 15.886-5.475 7.5-14.723 12.17-25.234 15.002 16.994-2.906 32.383-6.067 37.599-8.682 4.898-2.453 17.708-10.892 18.153-20.34.235-4.978-3.071-9.642-9.826-13.863-3.388-2.117-8.541-3.19-15.314-3.19-31.879 0-90.077 23.723-96.143 26.232-.209 1.693-.246 3.367-.104 4.178l.231-.257c2.564-3.035 54.587-20.487 79.875-20.487zm-80.89 15.884s89.576-37.734 112.858-23.183c25.015 15.634-2.7 33.034-8.406 35.894-13.836 6.932-96.688 17.455-96.688 17.455l-2.263-8.077s66.375 8.887 85.367-17.139c31.389-43.008-86.068-3.323-89.113.278-3.045 3.601-1.755-5.228-1.755-5.228zm-103.797-150.911a4.204 4.526 0 0 1-4.204 4.526 4.204 4.526 0 0 1-4.204-4.526 4.204 4.526 0 0 1 4.204-4.526 4.204 4.526 0 0 1 4.204 4.526zm-2.345 22.311c-12.258 0-22.231-10.444-22.231-23.282 0-12.837 9.973-23.282 22.231-23.282 12.258 0 22.23 10.445 22.23 23.282s-9.972 23.282-22.23 23.282zm0-38.804c-7.979 0-14.47 6.963-14.47 15.521s6.491 15.521 14.47 15.521c7.979 0 14.47-6.963 14.47-15.521s-6.491-15.521-14.47-15.521zm20.454 9.055c26.398 0 64.769 96.528 85.688 158.35 9.831 29.053 15.808 50.441 14.877 50.545-2.911.322-10.994-13.905-10.994-13.905s2.264 14.875 0 14.875-6.791-15.521-6.791-15.521-1.228 15.021-4.138 16.961c.258-4.35-3.947-18.9-3.3-26.015.647-7.115-122.616 7.772-120.615 16.814 2.001 9.041 4.528 18.432 3.881 24.252-.647 5.821-8.084-15.197-8.084-15.197s0 16.168-1.94 18.432c-1.94 2.265-3.88-15.846-3.88-15.846s-7.761 19.078-7.761 14.28c0-4.799 2.587-144.596 2.587-144.596-26.215 6.48-17.139 4.203-42.038 11.641-16.565 4.948 54.649-97.656 61.763-95.07 7.114 2.586-.647 13.582-.647 13.582s-47.211 61.762-45.918 64.35c1.293 2.587 26.517-3.234 30.72-2.587 4.203.647 5.498 130.964 10.994 120.616 5.497-10.349 79.225-30.721 118.352-19.727 14.499 4.074-32.66-156.508-71.787-171.06l-.969-5.174z" transform="matrix(-1 0 0 1 473.058 -163.7)" fill="#2b2b2b"/></svg> \ No newline at end of file
diff --git a/static/img/logo.svg b/static/img/logo.svg
new file mode 100755
index 0000000..714efc7
--- /dev/null
+++ b/static/img/logo.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg"></svg>