mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2025-02-05 06:20:02 +00:00
Fixed #22. Moved opening body tags into template files instead of header.
This commit is contained in:
parent
6cf35c2a31
commit
3a1fbfb306
8 changed files with 11 additions and 16 deletions
|
@ -1,4 +1,4 @@
|
||||||
baseurl = "https://introduction.com/" # Your domain name. Must end with "/"
|
baseurl = "/" # Your domain name. Must end with "/"
|
||||||
languageCode = "en-us"
|
languageCode = "en-us"
|
||||||
title = "Introduction"
|
title = "Introduction"
|
||||||
theme = "introduction"
|
theme = "introduction"
|
||||||
|
@ -13,7 +13,7 @@ canonifyurls = true # Turns relative urls into a
|
||||||
firstname = "Introduction" # First name shows in introduction on main page
|
firstname = "Introduction" # First name shows in introduction on main page
|
||||||
tagline = "I'm a theme for Hugo." # Appears after the introduction
|
tagline = "I'm a theme for Hugo." # Appears after the introduction
|
||||||
introheight = "large" # Input either 'medium' or 'large' or 'fullheight'
|
introheight = "large" # Input either 'medium' or 'large' or 'fullheight'
|
||||||
theme = "dark" # Choose 'light' or 'dark'
|
themestyle = "light" # Choose 'light' or 'dark'
|
||||||
avatar = "img/profile.jpg" # Path to image in static folder eg. img/avatar.png, or comment out to remove
|
avatar = "img/profile.jpg" # Path to image in static folder eg. img/avatar.png, or comment out to remove
|
||||||
email = "youremail@email.com" # Shows in contact section, or leave blank to omit
|
email = "youremail@email.com" # Shows in contact section, or leave blank to omit
|
||||||
localtime = true # Show your current local time in contact section
|
localtime = true # Show your current local time in contact section
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
{{ partial "header.html" . }}
|
{{ partial "header.html" . }}
|
||||||
|
<body>
|
||||||
|
|
||||||
<div class="section" id="top"><!-- Parent section -->
|
<div class="section" id="top"><!-- Parent section -->
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
{{ partial "header.html" . }}
|
{{ partial "header.html" . }}
|
||||||
|
<body>
|
||||||
|
|
||||||
<div class="section" id="top">
|
<div class="section" id="top">
|
||||||
<!-- Parent section -->
|
<!-- Parent section -->
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
{{ partial "header.html" . }}
|
{{ partial "header.html" . }}
|
||||||
|
|
||||||
|
<body>
|
||||||
<div class="section" id="top">
|
<div class="section" id="top">
|
||||||
<!-- Parent section -->
|
<!-- Parent section -->
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
{{ partial "header.html" . }}
|
{{ partial "header.html" . }}
|
||||||
|
<body>
|
||||||
|
|
||||||
<div class="section" id="top"><!-- Parent section -->
|
<div class="section" id="top"><!-- Parent section -->
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
{{ partial "header.html" . }}
|
{{ partial "header.html" . }}
|
||||||
|
<body>
|
||||||
|
|
||||||
<div class="section" id="top"><!-- Parent section -->
|
<div class="section" id="top"><!-- Parent section -->
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,5 @@
|
||||||
<!--
|
|
||||||
Hey! Thanks for looking at my code! You win a cookie. :) The nice kind with chocolate chips, not the sneaky spying kind.
|
|
||||||
|
|
||||||
This page was originally created for the Personal Portfolio Webpage challenge on FreeCodeCamp's Front End Development Certification course. It's totally responsive, and the first web page I ever coded from scratch.
|
|
||||||
|
|
||||||
Enjoy, and I hope you find what you're looking for! If you have questions or want to get in touch, please do: hello@vickylai.io.
|
|
||||||
-->
|
|
||||||
|
|
||||||
{{ partial "header.html" . }}
|
{{ partial "header.html" . }}
|
||||||
|
<body>
|
||||||
|
|
||||||
<div class="section" id="top"> <!-- Where all the awesome begins -->
|
<div class="section" id="top"> <!-- Where all the awesome begins -->
|
||||||
|
|
||||||
|
|
|
@ -53,14 +53,14 @@ crossorigin="anonymous"></script>
|
||||||
{{ if .Site.Params.cachebuster }}
|
{{ if .Site.Params.cachebuster }}
|
||||||
|
|
||||||
{{ $t := now.Unix }}
|
{{ $t := now.Unix }}
|
||||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/{{ .Site.Params.theme }}-style.css?t={{$t}}">
|
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/{{ .Site.Params.themestyle }}-style.css?t={{$t}}">
|
||||||
{{range .Site.Params.extracssfiles}}
|
{{range .Site.Params.extracssfiles}}
|
||||||
<link rel="stylesheet" href="{{.}}?t={{$t}}">
|
<link rel="stylesheet" href="{{.}}?t={{$t}}">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ else }}
|
{{ else }}
|
||||||
|
|
||||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/{{ .Site.Params.theme }}-style.css">
|
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/{{ .Site.Params.themestyle }}-style.css">
|
||||||
{{range .Site.Params.extracssfiles}}
|
{{range .Site.Params.extracssfiles}}
|
||||||
<link rel="stylesheet" href="{{.}}">
|
<link rel="stylesheet" href="{{.}}">
|
||||||
{{end}}
|
{{end}}
|
||||||
|
@ -84,7 +84,4 @@ crossorigin="anonymous"></script>
|
||||||
<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
|
<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
Loading…
Reference in a new issue