Fixing bg image on all pages issue
This commit is contained in:
parent
961c976900
commit
783191b0a4
@ -1,9 +1,12 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en-us">
|
<html lang="en-us">
|
||||||
{{ partial "head.html" . }}
|
{{ partial "head.html" . }}
|
||||||
<body>
|
{{ if eq .Permalink .Site.BaseURL }}
|
||||||
|
<body class="main-page">
|
||||||
|
{{ else }}
|
||||||
|
<body>
|
||||||
|
{{ end }}
|
||||||
<div class="banner-container">
|
<div class="banner-container">
|
||||||
<!-- <img class="bg-img fade-in-image" src="/img/bg.png"> -->
|
|
||||||
<div class="headline">
|
<div class="headline">
|
||||||
<h1 class="headline-title reveal-text">{{.Site.Title}}</h1>
|
<h1 class="headline-title reveal-text">{{.Site.Title}}</h1>
|
||||||
<h5 class="reveal-text">{{.Site.Params.Description}}</h5>
|
<h5 class="reveal-text">{{.Site.Params.Description}}</h5>
|
||||||
|
@ -1,9 +1,12 @@
|
|||||||
body {
|
body {
|
||||||
/* background-color: #212121; */
|
background-color: #212121;
|
||||||
background-image: url("/img/bg.png");
|
|
||||||
font-family: 'Courier New', monospace;
|
font-family: 'Courier New', monospace;
|
||||||
color: #dcdcdc;
|
color: #dcdcdc;
|
||||||
}
|
}
|
||||||
|
.main-page {
|
||||||
|
background-image: url("/img/bg.png");
|
||||||
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
scroll-behavior: smooth;
|
scroll-behavior: smooth;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
Loading…
Reference in New Issue
Block a user