Skip to content

Commit 1aba55d

Browse files
committed
Add hugo contents to generate "core" pages
Please note this won't generate the full content of the "PUBLIC" folder as that one contains a few hand-crafted items (e.g. browser redirects).
1 parent 291ffe1 commit 1aba55d

File tree

71 files changed

+12359
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+12359
-1
lines changed

.gitignore

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
# hugo automatically generates a .htaccess file, we don't need it...
2-
/.htaccess
2+
/PUBLIC/.htaccess
33

44
/build-tmp/
55

66
# ignore all generated API docs:
77
/PUBLIC/apidocs/*
8+
9+
# temporary hugo lock file while building
10+
.hugo_build.lock

src/hugo/archetypes/default.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
title: "{{ replace .Name "-" " " | title }}"
3+
date: {{ .Date }}
4+
draft: true
5+
---
6+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
baseURL = "https://imcf.one/"
2+
canonifyurls = true
3+
copyright = "Imaging Core Facility, University of Basel, Switzerland"
4+
enableRobotsTXT = false
5+
ignoreFiles = [
6+
"content/portfolio/\\.*",
7+
"content/product/\\.*",
8+
"content/sketch/\\.*",
9+
"content/homepage/\\.*",
10+
"content/post/\\.*",
11+
"content/\\.*",
12+
] # disable example pages as this is a single page
13+
languageCode = "en-US"
14+
paginate = 5
15+
pygmentsCodeFences = true
16+
theme = "bootstrap-bp-hugo-startpage"
17+
title = "Imaging Core Facility - IMCF"
18+
19+
[sitemap]
20+
changefreq = "weekly"
21+
priority = 0.5
22+
23+
[permalinks]
24+
page = "/:slug/"
25+
pages = "/:slug/"
26+
post = "/:year/:month/:slug/"
27+
posts = "/:year/:month/:slug/"
28+
29+
[Author]
30+
name = "Imaging Core Facility"
31+
32+
[params]
33+
description = "Shortcuts, bookmarks and API docs of the IMCF"
34+
#images = ["logo.jpg"]
35+
startPageColumns = false
36+
welcomeText = "Imaging Core Facility"
37+
38+
# [[params.searchEngines]]
39+
# name = "Google"
40+
# activated = true
41+
# url = "https://www.google.com/search"
42+
#
43+
# [[params.searchEngines]]
44+
# name = "DuckDuckGo"
45+
# activated = true
46+
# url = "https://duckduckgo.com/"
47+
#
48+
# [[params.searchEngines]]
49+
# name = "Bing"
50+
# activated = true
51+
# url = "https://www.bing.com/search"
52+
#
53+
# [[params.searchEngines]]
54+
# name = "Baidu"
55+
# activated = true
56+
# url = "https://baidu.com/s"
57+
# searchkey = "wd"
58+
59+
[taxonomies]

src/hugo/config.toml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
config.bootstrap-bp-hugo-startpage.toml

0 commit comments

Comments
 (0)