before implementing search

This commit is contained in:
unknown
2020-12-06 13:20:47 -03:00
commit 9be79cf76f
44 changed files with 8031 additions and 0 deletions

View File

View File

@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html>
{{- partial "head.html" . -}}
<body>
{{- partial "header.html" . -}}
<div id="content">
{{- block "main" . }}{{- end }}
</div>
{{- partial "footer.html" . -}}
{{- partial "script.html" . -}}
</body>
</html>

View File

@@ -0,0 +1,43 @@
{{ define "main" }}
<h1>{{ .Name }}</h1>
<div class="articles">
{{ range .Pages.ByPublishDate.Reverse }}
{{ $dateTime := .PublishDate.Format "2006-01-02" }}
{{ $dateFormat := .Site.Params.dateFormat | default "Jan 2, 2006" }}
<article class="article">
<a href="{{ .RelPermalink }}" class="article">
<div class="article">
<img src="{{.Params.image }}" alt="" srcset="{{.Params.image }}" class="article">
</div>
</a>
<div class="info article">
<h3 class=" article title">
<a href="{{ .RelPermalink }}" class="article title">{{ .Title }}</a>
</h3>
<div class="article metadata">
<time datetime="{{ $dateTime }}">{{ .PublishDate.Format $dateFormat }}</time>
</div>
<div class="article summary">
<p>{{.Summary}}</p>
<a href="{{ .RelPermalink }}" class="more article">
Read more »
</a>
</div>
</div>
</article>
{{ end }}
</div>
{{ end }}

View File

@@ -0,0 +1,26 @@
{{ define "main" }}
<h1>{{ .Title }}</h1>
<div class="single summary">
{{.Summary}}
</div>
{{ partial "metadata.html" . }}
<br><br>
<div class="image single"><img src="{{.Params.image}}" alt=""></div>
<article class="single">
<div>
{{ .Content }}
</div>
</article>
{{ end }}

View File

@@ -0,0 +1,10 @@
[
{{ range $index, $value := where .Site.Pages "Type" "post" }}
{{ if $index }}, {{ end }}
{
"url": "{{ .RelPermalink }}",
"title": "{{ .Title }}",
"content": {{ .Content | plainify | jsonify }}
}
{{ end }}
]

View File

@@ -0,0 +1,6 @@
{{ define "main" }}
<br>
<div id="home-jumbotron" class="jumbotron text-center">
<h1 class="title">{{ .Site.Title }}</h1>
</div>
{{ end }}

View File

@@ -0,0 +1,38 @@
<footer>
<div class="flex-container">
<div>
<p>OFFICE</p>
<li>Adress</li>
<li>phone number</li>
<li>email</li>
<li>Other thing</li>
</div>
<div>
<p class="Site links">Office</p>
{{ range .Site.Menus.main }}
<li class="nav-link" href="{{ .URL }}">
{{ $text := print .Name | safeHTML }}
{{ $text }}
{{end}}
</div>
<div>
<p>Our Team</p>
<li>Anouschka Nabibaks, LLM, MBA</li>
<li>Brigitte Bodeutsch, LLB</li>
<li>Marge Kartopawiro</li>
<li>Vareen Kariem, LLM</li>
<li>Wandana Ganesh, LLB</li>
</div>
<div>
<p>Information</p>
<li>Wage Tax</li>
<li>Loonbelasting</li>
<li>Sales Tax</li>
<li>Withholding tax
</li>
</div>
</div>
<h2>Ⓒ 2020 - FiscLe Consultancy. All Rights Are Reserved</h2>
</footer>

View File

@@ -0,0 +1,9 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css">
<link rel="stylesheet" href="/css/global.css">
{{ $title := print .Site.Title " | " .Title }}
{{ if .IsHome }}{{ $title = .Site.Title }}{{ end }}
<title>{{ $title }}</title>
</head>

View File

@@ -0,0 +1,17 @@
<div id="contact-info">
<a href="mailto:info@fiscleconsultancy.com"><i data-feather="mail"></i> info@fiscleconsultancy.com
</a>
<a href="tel:+597491518"><i data-feather="phone"></i>(597) 491518</a>
</div>
<nav class="topnav">
<a href="#home"><img src="/image/Fiscle_logo-185x300.jpg" alt="Fiscle Logo"></a>
{{ range .Site.Menus.main }}
<a class="nav-link" href="{{ .URL }}">
{{ $text := print .Name | safeHTML }}
{{ $text }}
</a>
{{ end }}
<a href="javascript:void(0);" class="icon" onclick="myFunction()">
<i data-feather="menu" color="black"></i></a>
</nav>
<br>

View File

@@ -0,0 +1,10 @@
[
{{- range $index, $page := .Site.RegularPages -}}
{{- if gt $index 0 -}} , {{- end -}}
{{- $entry := dict "uri" $page.RelPermalink "title" $page.Title -}}
{{- $entry = merge $entry (dict "content" ($page.Plain | htmlUnescape)) -}}
{{- $entry = merge $entry (dict "description" $page.Description) -}}
{{- $entry = merge $entry (dict "categories" $page.Params.categories) -}}
{{- $entry | jsonify -}}
{{- end -}}
]

View File

@@ -0,0 +1,11 @@
{{ $dateTime := .PublishDate.Format "2006-01-02" }}
{{ $dateFormat := .Site.Params.dateFormat | default "Jan 2, 2006" }}
<i data-feather="calendar"></i>
<time datetime="{{ $dateTime }}">{{ .PublishDate.Format $dateFormat }}</time>
{{ with .Params.tags }}
<i data-feather="tag"></i>
{{ range . }}
{{ $href := print (absURL "tags/") (urlize .) }}
<a class="btn btn-sm btn-outline-dark tag-btn" href="{{ $href }}">{{ . }}</a>
{{ end }}
{{ end }}

View File

@@ -0,0 +1,20 @@
<script src="/js/feather.min.js"></script>
<!-- feather icon replace -->
<script>
feather.replace()
</script>
<script>
function myFunction() {
var x = document.getElementById("myTopnav");
if (x.className === "topnav") {
x.className += " responsive";
} else {
x.className = "topnav";
}
}
</script>
<!-- search -->
<script src="https://unpkg.com/lunr/lunr.js"></script>