Fix spacing and html background color

- Add spacing before All Blog Posts section
- Apply background color to html (was white in dark theme)
This commit is contained in:
Vicky 2018-08-24 14:54:45 -05:00
parent 1d20702462
commit 463f61286e
10 changed files with 7347 additions and 4 deletions

View file

@ -1,4 +1,4 @@
body
html, body
background-color: $background
html.modal-open

View file

@ -5,7 +5,7 @@ DefaultContentLanguage = "en" # Default language fo
# googleAnalytics = "" # https://gohugo.io/templates/internal/#google-analytics
[params]
themeStyle = "light" # Choose "light" or "dark"
themeStyle = "dark" # Choose "light" or "dark"
favicon = "/img/fav.ico" # Path to favicon file
showRSSButton = false # Show rss button in navigation
fadeIn = true # Turn on/off the fade-in effect

View file

@ -2,4 +2,4 @@
title: "Blog"
---
Here is some introduction text for my blog
Here is some introduction text for my blog. This page uses the `layouts/blog/list.html` template. You can set this text by creating a `/blog/_index.md` file.

View file

@ -3,4 +3,4 @@ title: "Lorem Ipsum"
weight: 1
---
You can add more sections to the home page by adding file to `content/home/`
You can add more sections to the home page by adding files to the `content/home/` folder.

View file

@ -0,0 +1 @@
{"Target":"css/main.css","MediaType":"text/css","Data":{}}

View file

@ -17,6 +17,10 @@
{{ end }}
{{ end }}
{{ if .Site.Params.home.showAllPosts }}
</div>
</div>
<div class="section" id="all-posts">
<div class="container">
<h2 class="title is-2 has-text-centered top-pad">{{ i18n "index_blog_allPosts" . }}</h2>
{{ partialCached "blog/li.html" . }}
{{ else }}