Skip to content

Commit

Permalink
Added GitHub Link (#174)
Browse files Browse the repository at this point in the history
closes #171

---------

Co-authored-by: Arjun Verma <arjunverma.oc@gmail.com>
Co-authored-by: arjxn.py <arjxn.py@gmail.com>
  • Loading branch information
3 people committed Aug 8, 2024
1 parent 7e51a92 commit c15de20
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ params:
- title: Documentation
url: https://docs.pybamm.org/
is_external: true

- title: GitHub
url: https://github.com/pybamm-team/PyBaMM
is_external: true
- title: Learn
url: /learn/
# Should link to training and getting started pages
Expand Down
3 changes: 3 additions & 0 deletions content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
title: Homepage
summary: "The PyBaMM Homepage"
---
{{< center bottom="20px" >}}
{{< buttons/github-star >}}{{< buttons/github-fork >}}
{{< /center >}}

{{< grid columns="1 2 2 3" >}}
[[item]]
Expand Down
3 changes: 3 additions & 0 deletions layouts/shortcodes/center.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<div style="text-align: center; margin-bottom: {{ .Get "bottom" | default "0px" }};">
{{ .Inner }}
</div>

0 comments on commit c15de20

Please sign in to comment.