Initial commit: establishing the cqre.net perimeter
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ .Language.Lang }}">
|
||||
<head>
|
||||
{{ partial "head.html" . }}
|
||||
</head>
|
||||
<body>
|
||||
{{ partial "header.html" . }}
|
||||
<main>
|
||||
{{ block "main" . }}{{ end }}
|
||||
</main>
|
||||
{{ partial "footer.html" . }}
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,27 @@
|
||||
{{ define "main" }}
|
||||
<section class="product-hero">
|
||||
<div class="container">
|
||||
{{ with .Params.eyebrow }}<div class="hero-eyebrow eyebrow">{{ . }}</div>{{ end }}
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ with .Params.lead }}<p class="lead">{{ . }}</p>{{ end }}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<div class="page-content">
|
||||
<div class="container" style="max-width: var(--max-width);">
|
||||
{{ .Content }}
|
||||
<div class="card-grid mt-4">
|
||||
{{ range .Pages }}
|
||||
<a class="card" href="{{ .RelPermalink }}" style="text-decoration:none; color:inherit;">
|
||||
{{ with .Params.icon }}<div class="card-icon">{{ . }}</div>{{ end }}
|
||||
<h3>{{ .Title }}</h3>
|
||||
<p>{{ .Description }}</p>
|
||||
<div class="card-footer">
|
||||
{{ with .Params.badge }}<span class="badge badge-{{ .color }}">{{ .text }}</span>{{ end }}
|
||||
</div>
|
||||
</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
@@ -0,0 +1,34 @@
|
||||
{{ define "main" }}
|
||||
<div class="breadcrumb">
|
||||
<div class="breadcrumb-inner">
|
||||
<a href="{{ "/" | relLangURL }}">CQRE.NET</a>
|
||||
{{ with .Parent }}
|
||||
<span class="sep">/</span>
|
||||
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||||
{{ end }}
|
||||
<span class="sep">/</span>
|
||||
<span>{{ .Title }}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<section class="product-hero">
|
||||
<div class="container">
|
||||
{{ with .Params.eyebrow }}<div class="hero-eyebrow eyebrow">{{ . }}</div>{{ end }}
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ with .Params.lead }}<p class="lead">{{ . }}</p>{{ end }}
|
||||
{{ with .Params.actions }}
|
||||
<div class="actions">
|
||||
{{ range . }}
|
||||
<a href="{{ .url }}" class="btn {{ if .primary }}btn-primary{{ else }}btn-outline{{ end }}" {{ if .external }}target="_blank" rel="noopener"{{ end }}>{{ .label }}</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<div class="page-content">
|
||||
<div class="container">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user