aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2023-06-28 14:46:43 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2023-06-28 14:46:43 +0530
commit97033fbbd1b548496fa1639e324d9c0a36e3c8de (patch)
tree3732b37f8305ec2af0e33de62195b2dc74fd4a85
parentd63fcf303789f2c0a79f8256eea9797971f80a87 (diff)
removed config.toml content from index.html
-rw-r--r--layouts/index.html27
1 files changed, 1 insertions, 26 deletions
diff --git a/layouts/index.html b/layouts/index.html
index ddcb565..d51b1ad 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -2,35 +2,10 @@
<div class="section" id="section-1">
<div class="section-child">
{{- partial "index_nav.html" . -}}
- <!-- The first section of the page will be loaded with partial intro.html -->
- <!-- and/or .Site.Params.indexContent variable in your hugo config file. -->
- <!-- While the second section will be generated by content/_index.md file -->
- <!-- basically, the first section is more permanent, -->
- <!-- while you can regularly and easily change the second section -->
- {{ if .Site.Params.indexContent }}
- {{ .Site.Params.indexContent | safeHTML }}
- {{ else }}
- {{- partial "intro.html" . -}}
- {{ end }}
- </div>
-</div>
-
-<!--
-<div class="section" id="section-2">
- <div class="section-child">
- <div id="other-content">
+ <div class="my-intro">
{{ .Content }}
</div>
- <div class="img-l">
--->
- <!-- remove the <a> tag if the image shouldn't be a hyperlink -->
-<!--
- <a href="{{ .Params.imgLink }}">
- <img src="{{ .Params.img }}" alt="{{ .Params.imgAlt }}">
- </a>
- </div>
</div>
</div>
--->
{{ end }}