Initial commit
This commit is contained in:
0
layouts/404.html
Normal file
0
layouts/404.html
Normal file
10
layouts/_default/li.html
Normal file
10
layouts/_default/li.html
Normal file
@@ -0,0 +1,10 @@
|
||||
<article class="card">
|
||||
<div class="card-body">
|
||||
<h2 class="post-title card-text">
|
||||
<a href="{{ .Permalink }}" rel="bookmark" title="Link to {{ .Title }}">{{ .Title }}</a>
|
||||
</h2>
|
||||
<span class="post-date card-text">Published {{ .Date.Format "Jan 2, 2006" }}</span>
|
||||
<p>{{ .Description }}</p>
|
||||
{{ if .Truncated }}<a class="moretag card-text" href="{{ .Permalink }}">Continue reading</a>{{ end }}
|
||||
</div>
|
||||
</article>
|
||||
13
layouts/_default/list.html
Normal file
13
layouts/_default/list.html
Normal file
@@ -0,0 +1,13 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ .Site.LanguageCode }}" dir="ltr">
|
||||
{{ partial "head.html" . }}
|
||||
<body>
|
||||
{{.Content}}
|
||||
<section id="content" role="main" class="article-list card-columns">
|
||||
{{ range $index, $page := .Paginator.Pages }}
|
||||
{{ .Render "li" }}
|
||||
{{ end }}
|
||||
</section>
|
||||
</body>
|
||||
{{ partial "scripts.html" . }}
|
||||
</html>
|
||||
21
layouts/_default/single.html
Normal file
21
layouts/_default/single.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ .Site.LanguageCode }}" dir="ltr">
|
||||
{{ partial "head.html" . }}
|
||||
<body>
|
||||
<div class="content-container">
|
||||
<section class="article-body" role="main">
|
||||
<section>
|
||||
<span class="post-date">{{ .Date.Format "Jan 2, 2006" }}</span>
|
||||
</section>
|
||||
<article>
|
||||
{{ .Content }}
|
||||
</article>
|
||||
<hr />
|
||||
<!--
|
||||
If you're going to use DISQUS comments, insert code here.
|
||||
-->
|
||||
</section>
|
||||
</div>
|
||||
</body>
|
||||
{{ partial "scripts.html" . }}
|
||||
</html>
|
||||
0
layouts/partials/footer.html
Normal file
0
layouts/partials/footer.html
Normal file
15
layouts/partials/head.html
Normal file
15
layouts/partials/head.html
Normal file
@@ -0,0 +1,15 @@
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<title>{{ if ne .URL "/" }}{{ .Title }} · {{ end }}{{ .Site.Title }}</title>
|
||||
<meta name="description" content="{{if .IsHome}}{{ $.Site.Params.description }}{{else}}{{.Description}}{{end}}" />
|
||||
<!-- Standard favicon -->
|
||||
<link rel="icon" type="image/x-icon" href="{{ .Site.BaseURL }}/img/favicon.ico">
|
||||
<!-- Recommended favicon format -->
|
||||
<link rel="icon" type="image/png" href="{{ .Site.BaseURL }}/img/favicon.png">
|
||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/style.css" />
|
||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/xcode.css" />
|
||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/font-awesome.min.css" />
|
||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/latolatinfonts.css" />
|
||||
</head>
|
||||
0
layouts/partials/header.html
Normal file
0
layouts/partials/header.html
Normal file
7
layouts/partials/scripts.html
Normal file
7
layouts/partials/scripts.html
Normal file
@@ -0,0 +1,7 @@
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script>
|
||||
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
|
||||
<script>
|
||||
hljs.initHighlightingOnLoad();
|
||||
</script>
|
||||
Reference in New Issue
Block a user