Skip to content

Commit

Permalink
Hide unwanted pages
Browse files Browse the repository at this point in the history
Pages such as profiles, projects, publications, repositories, teachings, cv need to be hidden. Comment out the 'permalink' link to hide them. This ensures that these API endpoints don't exist. If user navigates to /people, they get redirected to home
  • Loading branch information
SatpreetMakhija committed Mar 17, 2024
1 parent cd2d643 commit f3fa24f
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 67 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ bing_site_verification: # out your bing-site-verification ID (Bing Webmaster)

blog_name: Logs # blog_name will be displayed in your blog page
blog_nav_title: blog # your blog must have a title for it to be displayed in the nav bar
blog_description: Learning by writing.
blog_description:
permalink: /blog/:year/:title/

# Pagination
Expand Down
4 changes: 2 additions & 2 deletions _pages/cv.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
layout: cv
permalink: /cv/
# permalink: /cv/
title: cv
nav: true
nav: false
nav_order: 5
cv_pdf: example_pdf.pdf
description: This is a description of the page. You can modify it in '_pages/cv.md'. You can also change or remove the top pdf download button.
Expand Down
2 changes: 1 addition & 1 deletion _pages/dropdown.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: page
title: submenus
nav: true
nav: false
nav_order: 8
dropdown: true
children:
Expand Down
4 changes: 2 additions & 2 deletions _pages/profiles.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
layout: profiles
permalink: /people/
# permalink: /people/
title: people
description: members of the lab or group
nav: true
nav: false
nav_order: 7

profiles:
Expand Down
4 changes: 2 additions & 2 deletions _pages/projects.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
layout: page
title: projects
permalink: /projects/
# permalink: /projects/
description: A growing collection of your cool projects.
nav: true
nav: false
nav_order: 3
display_categories: [work, fun]
horizontal: false
Expand Down
4 changes: 2 additions & 2 deletions _pages/publications.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
layout: page
permalink: /publications/
# permalink: /publications/
title: publications
description: publications by categories in reversed chronological order. generated by jekyll-scholar.
nav: true
nav: false
nav_order: 2
---
<!-- _pages/publications.md -->
Expand Down
4 changes: 2 additions & 2 deletions _pages/repositories.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
layout: page
permalink: /repositories/
# permalink: /repositories/
title: repositories
description: Edit the `_data/repositories.yml` and change the `github_users` and `github_repos` lists to include your own GitHub profile and repositories.
nav: true
nav: false
nav_order: 4
---

Expand Down
4 changes: 2 additions & 2 deletions _pages/teaching.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
layout: page
permalink: /teaching/
# permalink: /teaching/
title: teaching
description: Materials for courses you taught. Replace this text with your description.
nav: true
nav: false
nav_order: 6
---

Expand Down
35 changes: 0 additions & 35 deletions _posts/2021-07-04-diagrams.md

This file was deleted.

18 changes: 0 additions & 18 deletions _posts/2023-12-12-tikzjax.md

This file was deleted.

0 comments on commit f3fa24f

Please sign in to comment.