Skip to content
This repository has been archived by the owner on Feb 20, 2024. It is now read-only.

Commit

Permalink
Added git functionality in footer
Browse files Browse the repository at this point in the history
  • Loading branch information
PriyanshuRj committed Oct 9, 2022
1 parent 8ce9743 commit bdcf20c
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 29 deletions.
11 changes: 0 additions & 11 deletions hugo_stats.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,22 @@
{
"htmlElements": {
"tags": [
"?xml",
"a",
"article",
"atom:link",
"atsign",
"blockquote",
"body",
"br",
"button",
"channel",
"circle",
"code",
"copyright",
"created",
"description",
"div",
"em",
"email",
"emoji",
"footer",
"form",
"generator",
"guid",
"h1",
"h2",
"h3",
Expand All @@ -37,8 +30,6 @@
"iframe",
"img",
"input",
"item",
"language",
"li",
"line",
"link",
Expand All @@ -50,9 +41,7 @@
"p",
"path",
"pre",
"pubdate",
"request",
"rss",
"script",
"shared",
"sita",
Expand Down
4 changes: 1 addition & 3 deletions layouts/docs/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,8 @@ <h2>{{ .Title }}</h2>
{{ end }}
</div>
{{ end -}}
{{ partial "main/footer.html"}}
{{ partial "main/footer.html" . }}
{{ partial "main/docs-navigation.html" . }}
<p>Last updated on {{ .GitInfo.AuthorDate }}</p>
<p> By {{ .GitInfo.AuthorName }} on <a href='https://github.com/atsign-foundation/docs.atsign.com/commit/{{ .GitInfo.AbbreviatedHash }}'>{{ .GitInfo.AbbreviatedHash }}</a></p>
<!--
{{ if not .Site.Params.options.collapsibleSidebar -}}
{{ partial "main/docs-navigation.html" . }}
Expand Down
5 changes: 2 additions & 3 deletions layouts/docs/root.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,9 @@ <h2>{{ .Title }}</h2>
{{ end }}
</div>
{{ end -}}
{{ partial "main/footer.html"}}
{{ partial "main/footer.html" . }}
{{ partial "main/docs-navigation.html" . }}
<p>Last updated on {{ .GitInfo.AuthorDate }}</p>
<p> By {{ .GitInfo.AuthorName }} on <a href='https://github.com/atsign-foundation/docs.atsign.com/commit/{{ .GitInfo.AbbreviatedHash }}'>{{ .GitInfo.AbbreviatedHash }}</a></p>

<!--
{{ if not .Site.Params.options.collapsibleSidebar -}}
{{ partial "main/docs-navigation.html" . }}
Expand Down
5 changes: 2 additions & 3 deletions layouts/docs/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,9 @@ <h2>{{ .Title }}</h2>
{{ partial "main/edit-page.html" . }}
{{ end -}}
</div>
{{ partial "main/footer.html"}}
{{ partial "main/footer.html" . }}
{{ partial "main/docs-navigation.html" . }}
<p>Last updated on {{ .GitInfo.AuthorDate }}</p>
<p> By {{ .GitInfo.AuthorName }} on <a href='https://github.com/atsign-foundation/docs.atsign.com/commit/{{ .GitInfo.AbbreviatedHash }}'>{{ .GitInfo.AbbreviatedHash }}</a></p>

<!--
{{ if not .Site.Params.options.collapsibleSidebar -}}
{{ partial "main/docs-navigation.html" . }}
Expand Down
2 changes: 2 additions & 0 deletions layouts/partials/main/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
<p>
For general inquiries, email us: <a href="mailto:info@atsign.com">info@atsign.com</a>
</p>
<p>Last updated on {{ .GitInfo.AuthorDate }}</p>
<p> By {{ .GitInfo.AuthorName }} on <a href='https://github.com/atsign-foundation/docs.atsign.com/commit/{{ .GitInfo.AbbreviatedHash }}'>{{ .GitInfo.AbbreviatedHash }}</a></p>
</div>
<div class="footer-social">
<a target="_blank" href="https://github.com/atsign-foundation">
Expand Down
5 changes: 2 additions & 3 deletions layouts_docs/_default/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,9 @@ <h2>{{ .Title }}</h2>
{{ end }}
</div>
{{ end -}}
{{ partial "main/footer.html"}}
{{ partial "main/footer.html" . }}
{{ partial "main/docs-navigation.html" . }}
<p>Last updated on {{ .GitInfo.AuthorDate }}</p>
<p> By {{ .GitInfo.AuthorName }} on <a href='https://github.com/atsign-foundation/docs.atsign.com/commit/{{ .GitInfo.AbbreviatedHash }}'>{{ .GitInfo.AbbreviatedHash }}</a></p>

<!--
{{ if not .Site.Params.options.collapsibleSidebar -}}
{{ partial "main/docs-navigation.html" . }}
Expand Down
5 changes: 2 additions & 3 deletions layouts_docs/_default/root.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,9 @@ <h2>{{ .Title }}</h2>
{{ end }}
</div>
{{ end -}}
{{ partial "main/footer.html"}}
{{ partial "main/footer.html" . }}
{{ partial "main/docs-navigation.html" . }}
<p>Last updated on {{ .GitInfo.AuthorDate }}</p>
<p> By {{ .GitInfo.AuthorName }} on <a href='https://github.com/atsign-foundation/docs.atsign.com/commit/{{ .GitInfo.AbbreviatedHash }}'>{{ .GitInfo.AbbreviatedHash }}</a></p>

<!--
{{ if not .Site.Params.options.collapsibleSidebar -}}
{{ partial "main/docs-navigation.html" . }}
Expand Down
5 changes: 2 additions & 3 deletions layouts_docs/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,9 @@ <h2>{{ .Title }}</h2>
{{ partial "main/edit-page.html" . }}
{{ end -}}
</div>
{{ partial "main/footer.html"}}
{{ partial "main/footer.html" . }}
{{ partial "main/docs-navigation.html" . }}
<p>Last updated on {{ .GitInfo.AuthorDate }}</p>
<p> By {{ .GitInfo.AuthorName }} on <a href='https://github.com/atsign-foundation/docs.atsign.com/commit/{{ .GitInfo.AbbreviatedHash }}'>{{ .GitInfo.AbbreviatedHash }}</a></p>

<!--
{{ if not .Site.Params.options.collapsibleSidebar -}}
{{ partial "main/docs-navigation.html" . }}
Expand Down

0 comments on commit bdcf20c

Please sign in to comment.