hugo-theme-relearn/layouts/index.html

53 lines
2.2 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html lang="en" class="js csstransforms3d">
<head>
<meta charset="utf-8">
{{ partial "meta.html" . }}
2016-03-30 20:02:25 +00:00
{{ partial "favicon.html" . }}
{{ .Scratch.Add "title" "" }}{{ if isset .Site.Data.titles .Title }}{{ .Scratch.Set "title" (index .Site.Data.titles .Title).title }}{{ else }}{{ .Scratch.Set "title" .Title}}{{end}}
<title>{{ .Scratch.Get "title" }}</title>
{{ partial "style.html" . }}
<link href="{{ .Site.BaseURL }}css/nucleus.css" rel="stylesheet">
<link href="{{ .Site.BaseURL }}css/font-awesome.min.css" rel="stylesheet">
<link href="{{ .Site.BaseURL }}css/hybrid.css" rel="stylesheet">
<link href="{{ .Site.BaseURL }}css/featherlight.min.css" rel="stylesheet">
<link href="{{ .Site.BaseURL }}css/perfect-scrollbar.min.css" rel="stylesheet">
<link href="{{ .Site.BaseURL }}css/theme.css" rel="stylesheet">
<link href="{{ .Site.BaseURL }}css/hugo-theme.css" rel="stylesheet">
<style type="text/css">
:root #header + #content > #left > #rlblock_left {
display:none !important;
}
p,li,ul {
text-align: center
}
ul
{
list-style-type: none;
}
</style>
</head>
<body>
<body class="" data-url="/">
<section id="body" style="margin-left:0px;">
<div id="overlay"></div>
<div class="padding highlightable">
<h1>Customize your own home page</h1>
<p>
The site is working, change the URL in your browser to get to any custom page. But, don't forget to <a href="https://gohugo.io/themes/customizing/">overwrite this index.html</a> with your own. You typically have 3 choices :
</p>
<ul>
<li><b>1. </b> Create an overview page for your project</li>
<li><b>2. </b> Create an empty html page with this code in the head tag to redirect to one of your documentation page : <code>&lt;meta http-equiv="refresh" content="0; url=http://example.com/"/&gt;</code> </li>
<li><b>3. </b> Configure your server to automatically redirect home page to one your documentation page</li>
</ul>
<p><i class="fa fa-heart fa-4x"></i></p>
</div>
</section>
</body>
</html>