Skip to content

Commit a16509f

Browse files
committed
feat: remove Talks, News, and Courses sections from homepage and navigation
1 parent 7a1736d commit a16509f

2 files changed

Lines changed: 67 additions & 67 deletions

File tree

config/_default/menus.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@ main:
1010
- name: Papers
1111
url: /#papers
1212
weight: 11
13-
- name: Talks
14-
url: /#talks
15-
weight: 12
16-
- name: News
17-
url: /#news
18-
weight: 13
13+
# - name: Talks
14+
# url: /#talks
15+
# weight: 12
16+
# - name: News
17+
# url: /#news
18+
# weight: 13
1919
- name: Experience
2020
url: experience/
2121
weight: 20
2222
- name: Projects
2323
url: projects/
2424
weight: 30
25-
- name: Courses
26-
url: courses/
27-
weight: 40
25+
# - name: Courses
26+
# url: courses/
27+
# weight: 40

content/_index.md

Lines changed: 58 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -66,62 +66,62 @@ sections:
6666
exclude_featured: false
6767
design:
6868
view: citation
69-
- block: collection
70-
id: talks
71-
content:
72-
title: Recent & Upcoming Talks
73-
filters:
74-
folders:
75-
- events
76-
design:
77-
view: card
78-
- block: collection
79-
id: news
80-
content:
81-
title: Recent News
82-
subtitle: ''
83-
text: ''
84-
# Page type to display. E.g. post, talk, publication...
85-
page_type: blog
86-
# Choose how many pages you would like to display (0 = all pages)
87-
count: 5
88-
# Filter on criteria
89-
filters:
90-
author: ''
91-
category: ''
92-
tag: ''
93-
exclude_featured: false
94-
exclude_future: false
95-
exclude_past: false
96-
publication_type: ''
97-
# Choose how many pages you would like to offset by
98-
offset: 0
99-
# Page order: descending (desc) or ascending (asc) date.
100-
order: desc
101-
design:
102-
# Choose a layout view
103-
view: card
104-
# Reduce spacing
105-
spacing:
106-
padding: [0, 0, 0, 0]
107-
- block: cta-card
108-
demo: true # Only display this section in the Hugo Blox Builder demo site
109-
content:
110-
title: 👉 Build your own academic website like this
111-
text: |-
112-
This site is generated by Hugo Blox Builder - the FREE, Hugo-based open source website builder trusted by 250,000+ academics like you.
113-
114-
<a class="github-button" href="https://github.com/HugoBlox/hugo-blox-builder" data-color-scheme="no-preference: light; light: light; dark: dark;" data-icon="octicon-star" data-size="large" data-show-count="true" aria-label="Star HugoBlox/hugo-blox-builder on GitHub">Star</a>
115-
116-
Easily build anything with blocks - no-code required!
117-
118-
From landing pages, second brains, and courses to academic resumés, conferences, and tech blogs.
119-
button:
120-
text: Get Started
121-
url: https://hugoblox.com/templates/
122-
design:
123-
card:
124-
# Card background color (CSS class)
125-
css_class: 'bg-primary-300'
126-
css_style: ''
69+
# - block: collection
70+
# id: talks
71+
# content:
72+
# title: Recent & Upcoming Talks
73+
# filters:
74+
# folders:
75+
# - events
76+
# design:
77+
# view: card
78+
# - block: collection
79+
# id: news
80+
# content:
81+
# title: Recent News
82+
# subtitle: ''
83+
# text: ''
84+
# # Page type to display. E.g. post, talk, publication...
85+
# page_type: blog
86+
# # Choose how many pages you would like to display (0 = all pages)
87+
# count: 5
88+
# # Filter on criteria
89+
# filters:
90+
# author: ''
91+
# category: ''
92+
# tag: ''
93+
# exclude_featured: false
94+
# exclude_future: false
95+
# exclude_past: false
96+
# publication_type: ''
97+
# # Choose how many pages you would like to offset by
98+
# offset: 0
99+
# # Page order: descending (desc) or ascending (asc) date.
100+
# order: desc
101+
# design:
102+
# # Choose a layout view
103+
# view: card
104+
# # Reduce spacing
105+
# spacing:
106+
# padding: [0, 0, 0, 0]
107+
# - block: cta-card
108+
# demo: true # Only display this section in the Hugo Blox Builder demo site
109+
# content:
110+
# title: 👉 Build your own academic website like this
111+
# text: |-
112+
# This site is generated by Hugo Blox Builder - the FREE, Hugo-based open source website builder trusted by 250,000+ academics like you.
113+
#
114+
# <a class="github-button" href="https://github.com/HugoBlox/hugo-blox-builder" data-color-scheme="no-preference: light; light: light; dark: dark;" data-icon="octicon-star" data-size="large" data-show-count="true" aria-label="Star HugoBlox/hugo-blox-builder on GitHub">Star</a>
115+
#
116+
# Easily build anything with blocks - no-code required!
117+
#
118+
# From landing pages, second brains, and courses to academic resumés, conferences, and tech blogs.
119+
# button:
120+
# text: Get Started
121+
# url: https://hugoblox.com/templates/
122+
# design:
123+
# card:
124+
# # Card background color (CSS class)
125+
# css_class: 'bg-primary-300'
126+
# css_style: ''
127127
---

0 commit comments

Comments
 (0)