diff options
-rw-r--r-- | layouts/index.html | 27 |
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 }} |