dimension theme

This commit is contained in:
Justin 2018-05-17 10:34:07 -04:00
parent 0c44a2e2fe
commit c8a4fc4567
73 changed files with 10250 additions and 0 deletions

View file

View file

@ -0,0 +1,4 @@
<article id="{{ .File.TranslationBaseName }}">
<h1>{{ .Title }}</h1>
{{ .Content }}
</article>

View file

@ -0,0 +1,46 @@
{{ partial "header.html" . }}
<!-- Wrapper -->
<div id="wrapper">
<!-- Header -->
<header id="header">
<div class="logo">
{{ with .Site.Params.logoimage }}
<img src="{{ . }}" width="100%" style="padding: 10px 10px 10px 10px;">
{{ end }}
{{ with .Site.Params.logo }}
<span class="icon {{ . }}"></span>
{{ end }}
</div>
<div class="content">
<div class="inner">
<h1>{{ .Site.Title | safeHTML }}</h1>
<p>{{ .Site.Params.description | safeHTML }}</p>
</div>
</div>
<nav>
<ul>
{{ range .Data.Pages.ByWeight }}
<li>{{ if isset .Params "link" }}<a href="{{ index .Params "link" }}"{{else}}<a href="#{{ .File.TranslationBaseName }}"{{end}}>{{ if .GetParam "menuname" }}{{ .GetParam "menuname" }}{{ else }}{{ .Title }}{{ end }}</a></li>
{{ end }}
</ul>
</nav>
</header>
<!-- Main -->
<div id="main">
{{ range .Data.Pages }}
{{ .Render "onepagestyle" }}
{{ end }}
</div>
<!-- Multilanguage -->
<div id="languages">
{{ if .IsTranslated }}
{{ range $i, $e := .Translations }}
{{ if $i }}, {{ end }}<a href="{{ .Permalink }}">{{ $e.Language.LanguageName }}</a>
{{ end}}
{{ end }}
</div>
{{ partial "footer.html" . }}

View file

@ -0,0 +1,18 @@
<!-- Footer -->
<footer id="footer">
<p class="copyright">&copy; {{ .Site.Params.copyright }}. </p>
</footer>
</div>
<!-- BG -->
<div id="bg"></div>
<!-- Scripts -->
<script src="/js/skel.min.js"></script>
<script src="/js/util.js"></script>
<script src="/js/main.js"></script>
{{ template "_internal/google_analytics_async.html" . }}
</body>
</html>

View file

@ -0,0 +1,19 @@
<!DOCTYPE HTML>
<!--
Dimension by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<html>
<head>
<title>{{ .Title }}</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<link rel="stylesheet" href="/css/main.css" />
<link rel="stylesheet" href="/css/project.css" />
<!--[if lte IE 9]><link rel="stylesheet" href="/css/ie9.css" /><![endif]-->
<noscript><link rel="stylesheet" href="/css/noscript.css" /></noscript>
</head>
<!-- Scripts -->
<script src="/js/jquery.min.js"></script>
<body>

View file

@ -0,0 +1,4 @@
User-agent: *
Allow: /
Sitemap: {{ .Site.BaseURL }}/sitemap.xml

View file

@ -0,0 +1 @@
<iframe src="https://www.google.com/maps/embed?pb={{ .Get "pb" }}" width="{{ if .Get "width" }}{{ .Get "width" }}{{ else }}100%{{ end }}" height="{{ if .Get "height" }}{{ .Get "height" }}{{ else }}450{{ end }}" frameborder="0" style="border:0" allowfullscreen></iframe>

View file

@ -0,0 +1,5 @@
<ul class="icons">
{{ range .Site.Params.social }}
<li><a href="{{ .link | safeURL }}" class="icon fa-{{ .icon }}"><span class="label">{{ .medium }}</span></a></li>
{{ end }}
</ul>

View file

@ -0,0 +1,11 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
{{ $baseURL := .Site.BaseURL }}
{{ range sort .Data.Pages }}
<url>
<loc>{{ $baseURL }}{{ .LanguagePrefix }}/#{{ .File.TranslationBaseName }}</loc>{{ if not .Lastmod.IsZero }}
<lastmod>{{ safeHTML ( .Lastmod.Format "2006-01-02T15:04:05-07:00" ) }}</lastmod>{{ end }}{{ with .Sitemap.ChangeFreq }}
<changefreq>{{ . }}</changefreq>{{ end }}{{ if ge .Sitemap.Priority 0.0 }}
<priority>{{ .Sitemap.Priority }}</priority>{{ end }}
</url>
{{ end }}
</urlset>