mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2024-11-08 22:49:44 +00:00
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:
parent
1d20702462
commit
463f61286e
10 changed files with 7347 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
||||||
body
|
html, body
|
||||||
background-color: $background
|
background-color: $background
|
||||||
|
|
||||||
html.modal-open
|
html.modal-open
|
||||||
|
|
|
@ -5,7 +5,7 @@ DefaultContentLanguage = "en" # Default language fo
|
||||||
# googleAnalytics = "" # https://gohugo.io/templates/internal/#google-analytics
|
# googleAnalytics = "" # https://gohugo.io/templates/internal/#google-analytics
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
themeStyle = "light" # Choose "light" or "dark"
|
themeStyle = "dark" # Choose "light" or "dark"
|
||||||
favicon = "/img/fav.ico" # Path to favicon file
|
favicon = "/img/fav.ico" # Path to favicon file
|
||||||
showRSSButton = false # Show rss button in navigation
|
showRSSButton = false # Show rss button in navigation
|
||||||
fadeIn = true # Turn on/off the fade-in effect
|
fadeIn = true # Turn on/off the fade-in effect
|
||||||
|
|
|
@ -2,4 +2,4 @@
|
||||||
title: "Blog"
|
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.
|
||||||
|
|
|
@ -3,4 +3,4 @@ title: "Lorem Ipsum"
|
||||||
weight: 1
|
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.
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1 @@
|
||||||
|
{"Target":"css/main.css","MediaType":"text/css","Data":{}}
|
Binary file not shown.
After Width: | Height: | Size: 9.5 KiB |
Binary file not shown.
After Width: | Height: | Size: 7.8 KiB |
Binary file not shown.
After Width: | Height: | Size: 18 KiB |
|
@ -17,6 +17,10 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if .Site.Params.home.showAllPosts }}
|
{{ 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>
|
<h2 class="title is-2 has-text-centered top-pad">{{ i18n "index_blog_allPosts" . }}</h2>
|
||||||
{{ partialCached "blog/li.html" . }}
|
{{ partialCached "blog/li.html" . }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
|
|
Loading…
Reference in a new issue