-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
sean-pwd
committed
Dec 7, 2021
0 parents
commit d7eaf83
Showing
19 changed files
with
145 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
resources/ |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
title: "{{ replace .Name "-" " " | title }}" | ||
date: {{ .Date }} | ||
draft: true | ||
--- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
baseURL: "http://example.org/" | ||
languageCode: en-au | ||
title: Sticky Header/Footer | ||
|
||
markup: | ||
goldmark: | ||
renderer: | ||
unsafe: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
title: "Home" | ||
date: 2021-11-16T23:04:08+11:00 | ||
draft: false | ||
menu: main | ||
weight: 10 | ||
heading: My first Bootstrap & Hugo Site | ||
btn1: | ||
text: Bootstrap 5 Docs | ||
url: https://getbootstrap.com/ | ||
btn2: | ||
text: Hugo Docs | ||
url: https://gohugo.io/ | ||
--- | ||
Lorem ipsum dolor sit, amet consectetur adipisicing elit. Omnis quod autem ullam illum dicta perferendis, quaerat dolore sunt, soluta incidunt, repellat aspernatur maxime. Dignissimos quibusdam voluptas, ipsam iusto, quo maxime earum officiis optio consequatur fugit voluptatem nobis error sed natus, voluptatum eveniet expedita aliquam id reiciendis molestiae necessitatibus accusantium impedit? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
title: "About" | ||
date: 2021-09-12T18:24:17+10:00 | ||
draft: false | ||
menu: main | ||
weight: 20 | ||
--- | ||
|
||
Sample Text. | ||
|
||
**Bold text** | ||
|
||
*Italic* |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!doctype html> | ||
<html lang="{{ .Lang }}"> | ||
<head> | ||
{{ partial "head" . }} | ||
</head> | ||
<body> | ||
<header> | ||
{{/* partial "header" . */}} | ||
{{ partial "navbar" . }} | ||
</header> | ||
<main> | ||
{{ block "main" . }}{{ end }} | ||
</main> | ||
<footer> | ||
{{ partial "footer" . }} | ||
</footer> | ||
</body> | ||
</html> |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{{ define "main" }} | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col"> | ||
<h2 class="text-primary">{{ .Title }}</h2> | ||
{{ with .Params.subtitle }} | ||
<h3 class="text-muted">{{ . }}</h3> | ||
{{ end }} | ||
{{ .Content | markdownify }} | ||
</div> | ||
</div> | ||
</div> | ||
{{ end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{{ define "main" }} | ||
<section class="hero"> | ||
<div class="container col-xxl-8"> | ||
<div class="row align-items-center justify-content-center py-5 g-5"> | ||
<div class="col-10 col-sm-8 col-lg-6"> | ||
<img src="/img/bootstrap-themes.png" alt="Bootstrap Themes" class="img-fluid d-block mx-auto"> | ||
</div> | ||
<div class="col-lg-6 order-lg-first"> | ||
<h1>{{ .Params.heading }}</h1> | ||
<p class="lead">{{ .Content | markdownify }}</p> | ||
<div class="d-grid gap-2 d-md-flex"> | ||
{{ with .Params.btn1 }} | ||
{{ if and .text .url }} | ||
<a role="button" href="{{ .url }}" class="btn btn-lg btn-primary px-4 me-md-2" target="_blank">{{ .text }}</a> | ||
{{ end }} | ||
{{ end }} | ||
{{ with .Params.btn2 }} | ||
{{ if and .text .url }} | ||
<a role="button" href="{{ .url }}" class="btn btn-lg btn-outline-secondary px-4" target="_blank">{{ .text }}</a> | ||
{{ end }} | ||
{{ end }} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
{{ end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<div class="d-block bg-dark"> | ||
<div class="p-2 text-light"> | ||
<small>© 2021 - {{ .Site.Title }}</small> | ||
</div> | ||
</div> | ||
|
||
<!-- Optional JavaScript; choose one of the two! --> | ||
|
||
<!-- Option 1: Bootstrap Bundle with Popper --> | ||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script> | ||
|
||
<!-- Option 2: Separate Popper and Bootstrap JS --> | ||
<!-- | ||
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper.min.js" integrity="sha384-IQsoLXl5PILFhosVNubq5LC7Qb9DXgDA9i+tQ8Zj3iwWAwPtgFTxbJ8NT4GN1R8p" crossorigin="anonymous"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.min.js" integrity="sha384-cVKIPhGWiC2Al4u+LWgxfKTRIcfu0JTxR+EQDz/bgldoEyl4H0zUF0QKbrJ0EcQF" crossorigin="anonymous"></script> | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<!-- Required meta tags --> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
|
||
<!-- Bootstrap CSS --> | ||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous"> | ||
<link rel="stylesheet" href="/css/main.css"> | ||
<title>{{ if not .IsHome }}{{ .Title }} - {{ end }}{{ .Site.Title }}</title> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<div class="d-block bg-secondary text-center"> | ||
<h1 class="p-2 text-light">{{ .Site.Title}}</h1> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<nav class="navbar navbar-expand-lg navbar-light bg-white mb-3 "> | ||
<div class="container-fluid"> | ||
<a class="navbar-brand" href="/">{{ .Site.Title }}</a> | ||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> | ||
<span class="navbar-toggler-icon"></span> | ||
</button> | ||
<div class="collapse navbar-collapse" id="navbarSupportedContent"> | ||
<ul class="navbar-nav me-auto mb-2 mb-lg-0"> | ||
{{ range .Site.Menus.main }} | ||
<li class="nav-item"> | ||
<a class="nav-link {{ if $.IsMenuCurrent "main" . }} active" aria-current="page{{ end }}" href="{{ .URL }}">{{ .Name }}</a> | ||
</li> | ||
{{ end }} | ||
</ul> | ||
</div> | ||
</div> | ||
</nav> |
Empty file.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.