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

Commit

Permalink
Merge pull request #182 from PriyanshuRj/issue-22
Browse files Browse the repository at this point in the history
feat: Added Git Credentials in Footer and Open issue in Header
  • Loading branch information
TylerTrott authored Oct 10, 2022
2 parents 75a8d5f + bdcf20c commit 9cac1d9
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 8 deletions.
2 changes: 1 addition & 1 deletion config/_default/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ canonifyURLs: true
disableAliases: true
disableHugoGeneratorInject: true
enableEmoji: true
enableGitInfo: false
enableGitInfo: true
enableRobotsTXT: true
languageCode: en
paginate: 7
Expand Down
5 changes: 4 additions & 1 deletion config/docs/menus/menu.en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,7 @@ main:

- name: atsign.com
url: https://atsign.com
weight: 4
weight: 4
- name: Open Issue
url: https://github.com/atsign-foundation/docs.atsign.com/issues/new/choose
weight: 5
2 changes: 1 addition & 1 deletion layouts/docs/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ <h2>{{ .Title }}</h2>
{{ end }}
</div>
{{ end -}}
{{ partial "main/footer.html"}}
{{ partial "main/footer.html" . }}
{{ partial "main/docs-navigation.html" . }}
<!--
{{ if not .Site.Params.options.collapsibleSidebar -}}
Expand Down
3 changes: 2 additions & 1 deletion layouts/docs/root.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,9 @@ <h2>{{ .Title }}</h2>
{{ end }}
</div>
{{ end -}}
{{ partial "main/footer.html"}}
{{ partial "main/footer.html" . }}
{{ partial "main/docs-navigation.html" . }}

<!--
{{ if not .Site.Params.options.collapsibleSidebar -}}
{{ partial "main/docs-navigation.html" . }}
Expand Down
4 changes: 3 additions & 1 deletion layouts/docs/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,17 @@ <h2>{{ .Title }}</h2>
{{ partial "main/edit-page.html" . }}
{{ end -}}
</div>
{{ partial "main/footer.html"}}
{{ partial "main/footer.html" . }}
{{ partial "main/docs-navigation.html" . }}

<!--
{{ if not .Site.Params.options.collapsibleSidebar -}}
{{ partial "main/docs-navigation.html" . }}
{{ else -}}
<div class="my-n3"></div>
{{ end -}}
-->

</main>
</div>
{{ end }}
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
3 changes: 2 additions & 1 deletion layouts_docs/_default/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,9 @@ <h2>{{ .Title }}</h2>
{{ end }}
</div>
{{ end -}}
{{ partial "main/footer.html"}}
{{ partial "main/footer.html" . }}
{{ partial "main/docs-navigation.html" . }}

<!--
{{ if not .Site.Params.options.collapsibleSidebar -}}
{{ partial "main/docs-navigation.html" . }}
Expand Down
3 changes: 2 additions & 1 deletion layouts_docs/_default/root.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,9 @@ <h2>{{ .Title }}</h2>
{{ end }}
</div>
{{ end -}}
{{ partial "main/footer.html"}}
{{ partial "main/footer.html" . }}
{{ partial "main/docs-navigation.html" . }}

<!--
{{ if not .Site.Params.options.collapsibleSidebar -}}
{{ partial "main/docs-navigation.html" . }}
Expand Down
3 changes: 2 additions & 1 deletion layouts_docs/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +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" . }}

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

0 comments on commit 9cac1d9

Please sign in to comment.