Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename certain content types to be more consistent #16

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
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
15 changes: 8 additions & 7 deletions config/_default/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,7 @@ enableRobotsTXT: true
#mediatypes:

# Output formats
outputformats:
Calendar:
protocol: "https://"
#outputformats:

# Outputs per content type
outputs:
Expand All @@ -68,12 +66,15 @@ outputs:
# Permalinks
permalinks:
authors: "/members/:slug/"
event: "/events/:slug/"
post: "/posts/:slug/"
project: "/projects/:slug/"
publication: "/publications/:slug/"
event: "/events/:filename/"
post: "/posts/:filename/"
project: "/projects/:filename/"
publication: "/publications/:filename/"
publication_types: "/publication-types/:slug/"
research_lines: "/research-lines/:slug/"
thesis_project: "/thesis-projects/:filename/"
tool: "/tools/:filename/"
vacancy: "/vacancies/:filename/"

# Taxonomy definitions
taxonomies:
Expand Down
2 changes: 1 addition & 1 deletion config/_default/menus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ main:
hasChildren: true
- parent: SERG
name: About SERG
url: "/about"
url: "/about#about-serg"
weight: 11
- parent: SERG
name: Organization
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Thesis projects
url: thesis-projects

# View.
# 1 = List
Expand Down Expand Up @@ -62,4 +63,4 @@ In particular you need to carefully think about the research component of your p

Once you’ve found your project and your supervisor, we recommend that you start writing as soon as possible: Devise a table of content, and fill in details as you go.

To write your thesis you need to make use of our [MSc Thesis Template](https://github.com/SERG-Delft/thesis-template).
To write your thesis you need to make use of our [MSc Thesis Template](https://github.com/SERG-Delft/thesis-template).
1 change: 1 addition & 0 deletions content/tools/_index.md → content/tool/_index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Software & Tools
url: tools

# View.
# 1 = List
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Vacancies
url: vacancies

# View.
# 1 = List
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion layouts/partials/rl_events_tab.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@

<h2>Events</h2>

{{ $pages := (where .Pages "Section" "events")}}
{{ $pages := (where .Pages "Section" "event")}}

{{ partial "li_pages.html" $pages }}
2 changes: 1 addition & 1 deletion layouts/partials/rl_publications_tab.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@

<h2>Publications</h2>

{{ $pages := (where .Pages "Section" "publications")}}
{{ $pages := (where .Pages "Section" "publication")}}

{{ partial "li_pages.html" $pages }}
2 changes: 1 addition & 1 deletion layouts/partials/rl_thesis_projects_tab.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@

<h2>Thesis Projects</h2>

{{ $pages := (where .Pages "Section" "thesis-projects")}}
{{ $pages := (where .Pages "Section" "thesis-project")}}

{{ partial "li_pages.html" $pages }}
2 changes: 1 addition & 1 deletion layouts/partials/rl_tools_tab.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@

<h2>Tools</h2>

{{ $pages := (where .Pages "Section" "tools")}}
{{ $pages := (where .Pages "Section" "tool")}}

{{ partial "li_pages.html" $pages }}
2 changes: 1 addition & 1 deletion layouts/partials/rl_vacancies_tab.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@

<h2>Vacancies</h2>

{{ $pages := (where .Pages "Section" "vacancies")}}
{{ $pages := (where .Pages "Section" "vacancy")}}

{{ partial "li_pages.html" $pages }}