Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue fix #1

Merged
merged 2 commits into from
May 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion exampleSite/config.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
baseURL = "https://www.example.com"
languageCode = "en-us"
title = "My Digital Garden"
theme = "digital-garden"
theme = "hugo-digital-garden-theme"
themesdir = "../../"
copyright = "Nigalya Ponya ©"

Expand Down
12 changes: 6 additions & 6 deletions layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ <h2 class="bio lh-base fs-1 serif">{{ .Site.Params.Description }}</h2>
<div class="col-lg-4">
{{ with .Site.GetPage "section" "garden" }}
<div class="pb-4">
<a class="heading fs-2" href="{{ .URL }}">{{ .Title }}</a>
<a class="heading fs-2" href="{{ .RelPermalink }}">{{ .Title }}</a>
</div>
{{ if .Summary }} <p class="subheading">{{ .Summary }}</p> {{ end }}
{{ end }}
Expand All @@ -28,7 +28,7 @@ <h2 class="bio lh-base fs-1 serif">{{ .Site.Params.Description }}</h2>
</div>
{{ with .Site.GetPage "section" "garden" }}
<div class="d-flex flex-row-reverse">
<a href="{{ .URL }}" role="button" class="btn btn-sm see-all">See all articles</a>
<a href="{{ .RelPermalink }}" role="button" class="btn btn-sm see-all">See all articles</a>
</div>
{{ end }}
</div>
Expand All @@ -37,7 +37,7 @@ <h2 class="bio lh-base fs-1 serif">{{ .Site.Params.Description }}</h2>
<div class="col-lg-7">
{{ with .Site.GetPage "section" "projects" }}
<div class="pb-4">
<a class="heading fs-2" href="{{ .URL }}">{{ .Title }}</a>
<a class="heading fs-2" href="{{ .RelPermalink }}">{{ .Title }}</a>
</div>
{{ if .Summary }}
<p class="subheading">{{ .Summary }}</p>
Expand All @@ -50,7 +50,7 @@ <h2 class="bio lh-base fs-1 serif">{{ .Site.Params.Description }}</h2>
</div>
{{ with .Site.GetPage "section" "projects" }}
<div class="d-flex flex-row-reverse">
<a href="{{ .URL }}" role="button" class="btn btn-sm see-all">See all projects</a>
<a href="{{ .RelPermalink }}" role="button" class="btn btn-sm see-all">See all projects</a>
</div>
{{ end }}
</div>
Expand All @@ -62,11 +62,11 @@ <h2 class="bio lh-base fs-1 serif">{{ .Site.Params.Description }}</h2>
<div class="col-sm-4 col-lg-3">
{{ with .Site.GetPage "section" "library" }}
<div class="pb-4">
<a class="heading fs-2" href="{{ .URL }}">{{ .Title }}</a>
<a class="heading fs-2" href="{{ .RelPermalink }}">{{ .Title }}</a>
</div>
{{ if .Summary }} <p class="subheading">{{ .Summary }}</p> {{ end }}
<div class="d-flex">
<a href="{{ .URL }}" role="button" class="btn btn-sm see-all">See all books</a>
<a href="{{ .RelPermalink }}" role="button" class="btn btn-sm see-all">See all books</a>
</div>
{{ end }}
</div>
Expand Down