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