diff options
-rw-r--r-- | layouts/partials/head.html | 2 | ||||
-rw-r--r-- | static/css/main.css | 2 | ||||
-rw-r--r-- | theme.toml | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index c1f5a15..6bcf3a2 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -8,6 +8,6 @@ {{ if .Site.Params.description }}<meta name="description" content="{{ .Site.Params.description }}" />{{ end }} {{ if .Site.Params.favicon }} <link rel="icon" href="{{ .Site.Params.favicon }}" /> {{ end }} - <link rel="stylesheet" href="/css/main.css" /> + <link rel="stylesheet" href="{{ .Site.BaseURL }}css/main.css" /> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.14.0/css/all.min.css" integrity="sha512-1PKOgIY59xJ8Co8+NE6FZ+LOAZKjy+KY8iq0G4B3CyeY6wYHN3yt9PW0XpSriVlkMXe40PTKnXrLnZ9+fkDaog==" crossorigin="anonymous" /> </head> diff --git a/static/css/main.css b/static/css/main.css index 4a38ccf..fc8ddf4 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -9,7 +9,7 @@ }
body {
- background: url(/images/bg.webp) top fixed no-repeat;
+ background: url(../images/bg.webp) top fixed no-repeat;
background-size: cover;
content-visibility: auto;
font-size: 16px;
@@ -3,7 +3,7 @@ name = "freshStart" license = "MIT" -licenselink = "https://github.com/yourname/yourtheme/blob/master/LICENSE" +licenselink = "https://github.com/rz3n/hugo-theme-freshstart/blob/master/LICENSE" description = "Start Page theme for Hugo" homepage = "https://github.com/rz3n/hugo-theme-freshstart" tags = ["start-page", "fast", "single-page", "responsive", "simple", "clean", "one-page", "light"] |