Skip to content

Commit

Permalink
Add basic example site
Browse files Browse the repository at this point in the history
  • Loading branch information
jarrodmillman committed Nov 19, 2024
1 parent 03eb28c commit 8c1b1a3
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/content/user_guide/getstarted.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ This theme is designed to be used as a Git submodule inside your site's source r
3. Copy the theme's documentation site as a template for your site:

```sh
cp -a themes/scientific-python-hugo-theme/doc/* .
cp -a themes/scientific-python-hugo-theme/exampleSite/* .
```

4. Test the site:
Expand Down
1 change: 0 additions & 1 deletion exampleSite

This file was deleted.

60 changes: 60 additions & 0 deletions exampleSite/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
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:
author:
name: "Example Team"
description: "Example"
images:
- /images/logo.svg
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:
4 changes: 4 additions & 0 deletions exampleSite/content/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title:
---

0 comments on commit 8c1b1a3

Please sign in to comment.