Skip to content
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
187 changes: 111 additions & 76 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,19 +62,6 @@ params:
url: /
buttonText: Get started
section5: false
footer:
# Logo (from /images/logos/___)
logo: numpy.svg
# Social media links (GitHub, Twitter, etc.). All are optional.
socialmedia:
- link: https://github.com/numpy
# Icons are from Font Awesome
icon: github
- link: https://twitter.com/lucperkins
icon: twitter
# TODO: not yet organized well (footer links need to differ from header
# links)
bulmalogo: false

languages:
en:
Expand All @@ -97,32 +84,48 @@ languages:
url: /aboutus
- title: Contribute
url: /contribute
footerLinks:
footer:
logo: numpy.svg
socialmediatitle: ""
socialmedia:
- link: https://github.com/numpy/numpy
icon: github
- link: https://twitter.com/lucperkins
icon: twitter
quicklinks:
column1:
title: "Pages"
title: ""
links:
- text: About us
link: /about
- text: Community
link: /community
- text: Install
link: /install
- text: Learning
link: /learning
- text: Documentation
link: /doc
- text: Array computing
link: /arraycomputing
- text: Install
link: /install
- text: Documentation
link: /docs
- text: Release notes
link: /release-notes
- text: Roadmap
link: /roadmap
column2:
title: "Docs"
title: ""
links:
- text: Getting started
link: /
- text: User guide
link: /
- text: Reference guide
link: /
- text: About us
link: /about
- text: Code of conduct
link: /code-of-conduct
- text: Get help
link: /help
- text: Contribute
link: /contribute
column3:
title: ""
links:
- text: Terms of use
link: /terms
- text: Privacy
link: /privacy
- text: Trademarks
link: /trademarks
- text: Press kit
link: /press-kit
nl:
title: NumPy
languageName: Dutch
Expand All @@ -143,32 +146,48 @@ languages:
url: /nl/aboutus
- title: Contribute
url: /nl/contribute
footerLinks:
footer:
logo: numpy.svg
socialmediatitle: ""
socialmedia:
- link: https://github.com/numpy/numpy
icon: github
- link: https://twitter.com/lucperkins
icon: twitter
quicklinks:
column1:
title: "Pages"
title: ""
links:
- text: About us
link: /nl/about
- text: Community
link: /nl/community
- text: Install
link: /nl/install
- text: Learning
link: /nl/learning
- text: Documentation
link: /nl/doc
- text: Array computing
link: /nl/arraycomputing
- text: Install
link: /nl/install
- text: Documentation
link: /nl/docs
- text: Release notes
link: /nl/release-notes
- text: Roadmap
link: /nl/roadmap
column2:
title: "Docs"
title: ""
links:
- text: About us
link: /nl/about
- text: Code of conduct
link: /nl/code-of-conduct
- text: Get help
link: /nl/help
- text: Contribute
link: /nl/contribute
column3:
title: ""
links:
- text: Getting started
link: /nl/
- text: User guide
link: /nl/
- text: Reference guide
link: /nl/
- text: Terms of use
link: /nl/terms
- text: Privacy
link: /nl/privacy
- text: Trademarks
link: /nl/trademarks
- text: Press kit
link: /nl/press-kit
hi:
title: NumPy
languageName: Hindi
Expand All @@ -189,29 +208,45 @@ languages:
url: /hi/aboutus
- title: Contribute
url: /hi/contribute
footerLinks:
footer:
logo: numpy.svg
socialmediatitle: ""
socialmedia:
- link: https://github.com/numpy/numpy
icon: github
- link: https://twitter.com/numpy
icon: twitter
quicklinks:
column1:
title: "Pages"
title: ""
links:
- text: About us
link: /hi/about
- text: Community
link: /hi/community
- text: Install
link: /hi/install
- text: Learning
link: /hi/learning
- text: Documentation
link: /hi/doc
- text: Array computing
link: /hi/arraycomputing
- text: Install
link: /hi/install
- text: Documentation
link: /hi/docs
- text: Release notes
link: /hi/release-notes
- text: Roadmap
link: /hi/roadmap
column2:
title: "Docs"
title: ""
links:
- text: About us
link: /hi/about
- text: Code of conduct
link: /hi/code-of-conduct
- text: Get help
link: /hi/help
- text: Contribute
link: /hi/contribute
column3:
title: ""
links:
- text: Getting started
link: /hi/
- text: User guide
link: /hi/
- text: Reference guide
link: /hi/
- text: Terms of use
link: /hi/terms
- text: Privacy
link: /hi/privacy
- text: Trademarks
link: /hi/trademarks
- text: Press kit
link: /hi/press-kit
53 changes: 53 additions & 0 deletions layouts/partials/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{{- $footer := .Site.Params.footer }}
{{- $logo := index $footer "logo" }}
{{- $quickLinks := index $footer "quicklinks" }}
{{- $socialMedia := index $footer "socialmedia" }}
<footer class="footer footer-dark">
<div class="container">
<div id="footer-columns" class="columns">
<div class="footer-logo-column">
<img id="footer-logo" src="{{ printf "/images/logos/%s" $logo | relURL }}">
</div>
{{- range $quickLinks }}
<div class="link-column">
<div class="footer-column">
<div class="footer-header">
<h3>{{ .title }}</h3>
</div>
<ul class="link-list">
{{- range .links }}
<li>
<a class="footer-link" href="{{ .link }}">
{{ .text }}
</a>
</li>
{{- end }}
</ul>
</div>
</div>
{{- end }}
<div class="footer-actions">
<p>Sign up for the latest NumPy news, resources, and more!</p>
<div class="sign-up-container">
<i class="fal fa-envelope sign-up-image"></i>
<input id="email" class="sign-up-input" onkeypress="if (event.which === 13 || event.keyCode === 13 || event.key === 'Enter') enterEmail()" />
<div class="submission-instructions">Press Enter</div>
<button class="signup-button" onclick="enterEmail()">
<i class="fal fa-paper-plane"></i>
</button>
</div>
<div class="thank-you">Thank you! &#127881;</div>
<nav class="level is-mobile">
<div class="social-media-icons">
{{- range $socialMedia }}
<a class="level-item" href="{{ .link }}">
<span class="icon"><i class="fa fa-{{ .icon }}"></i></span>
</a>
{{- end }}
</div>
</nav>
<div class="copyright">&copy; 2019 NumPy. All rights reserved.</div>
</div>
</div>
</div>
</footer>
Loading