Skip to content

Commit c15de20

Browse files
Bashamegaarjxn-py
andauthored
Added GitHub Link (#174)
closes #171 --------- Co-authored-by: Arjun Verma <[email protected]> Co-authored-by: arjxn.py <[email protected]>
1 parent 7e51a92 commit c15de20

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

config.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@ params:
6363
- title: Documentation
6464
url: https://docs.pybamm.org/
6565
is_external: true
66-
66+
- title: GitHub
67+
url: https://github.com/pybamm-team/PyBaMM
68+
is_external: true
6769
- title: Learn
6870
url: /learn/
6971
# Should link to training and getting started pages

content/_index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
title: Homepage
33
summary: "The PyBaMM Homepage"
44
---
5+
{{< center bottom="20px" >}}
6+
{{< buttons/github-star >}}{{< buttons/github-fork >}}
7+
{{< /center >}}
58

69
{{< grid columns="1 2 2 3" >}}
710
[[item]]

layouts/shortcodes/center.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<div style="text-align: center; margin-bottom: {{ .Get "bottom" | default "0px" }};">
2+
{{ .Inner }}
3+
</div>

0 commit comments

Comments
 (0)