Skip to content
Closed
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
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[submodule "themes/hugo-atom-feed"]
path = themes/hugo-atom-feed
url = https://github.com/kaushalmodi/hugo-atom-feed
[submodule "themes/scientific-python-hugo-theme"]
path = themes/scientific-python-hugo-theme
url = https://github.com/scientific-python/scientific-python-hugo-theme
67 changes: 57 additions & 10 deletions config.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,60 @@
disableKinds:
- taxonomy
theme:
- scientific-python-hugo-theme/themes/hugo-atom-feed
baseURL: "https://example.com/"
languageCode: "en-us"
title: "Example Site"
theme: scientific-python-hugo-theme
relativeURLs: true
disableKinds: ["taxonomy"]

markup:
highlight:
noClasses: false
goldmark:
renderer:
unsafe: true
renderHooks:
link:
enableDefault: true

params:
colorScheme: auto # can be auto (browser setting), light, or dark
author:
name: "Example Team"
description: "Example"
images:
- /images/logo.svg
navColor: blue
search: false
plausible:
dataDomain: null
javaScript: "https://views.scientific-python.org/js/script.js"
search: true
navbarlogo:
image: logo.svg
text: Scientific Python Hugo Theme
link: /
fonts:
- name: "Lato"
weights: [400, 900]
hero:
title: Example Site
image: logo.svg
buttontext: Get Started
buttonlink: "#"
navbar:
- title: User Guide
url: /
footer:
logo: logo.svg
socialmediatitle: ""
socialmedia:
- link: https://github.com/
icon: github

quicklinks:
column1:
title: ""
links:
- text: About
link: /
- text: Theme GitHub
link: https://github.com/scientific-python/scientific-python-hugo-theme
column2:
links:
- text: Scientific Python Forum
link: https://discuss.scientific-python.org
column3:
links:
3 changes: 3 additions & 0 deletions content/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title:
---
2 changes: 1 addition & 1 deletion layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{{ with .Params.canonicalURL -}}
<link rel="canonical" href="{{ . }}">
{{- end }}
<title>{{ block "title" . }}{{ .Site.Title }}{{ if not (eq .Site.Title .Title) }} - {{ .Title }}{{end}}{{ end }}</title>
<title>{{ block "title" . }}{{ .Site.Title }}{{ if .Title }} - {{ .Title }}{{ end }}{{ end }}</title>

<!-- Render theme css -->
{{ partial "css.html" . -}}
Expand Down
1 change: 1 addition & 0 deletions themes/scientific-python-hugo-theme
Loading