From 1eae90088d49339b6cfe6175b77c0cfef3dd2d54 Mon Sep 17 00:00:00 2001 From: Oliver Kinch Date: Thu, 18 Jul 2024 11:22:10 +0200 Subject: [PATCH] Remove stuff --- _pages/blog.md | 196 ----------------------------------------- _pages/news.md | 7 -- _pages/projects.md | 65 -------------- _pages/repositories.md | 47 ---------- _pages/teaching.md | 12 --- 5 files changed, 327 deletions(-) delete mode 100644 _pages/blog.md delete mode 100644 _pages/news.md delete mode 100644 _pages/projects.md delete mode 100644 _pages/repositories.md delete mode 100644 _pages/teaching.md diff --git a/_pages/blog.md b/_pages/blog.md deleted file mode 100644 index d11387f..0000000 --- a/_pages/blog.md +++ /dev/null @@ -1,196 +0,0 @@ ---- -layout: default -permalink: /blog/ -title: blog -nav: true -nav_order: 1 -pagination: - enabled: true - collection: posts - permalink: /page/:num/ - per_page: 5 - sort_field: date - sort_reverse: true - trail: - before: 1 # The number of links before the current page - after: 3 # The number of links after the current page ---- - -
- -{% assign blog_name_size = site.blog_name | size %} -{% assign blog_description_size = site.blog_description | size %} - -{% if blog_name_size > 0 or blog_description_size > 0 %} - -
-

{{ site.blog_name }}

-

{{ site.blog_description }}

-
- {% endif %} - -{% if site.display_tags or site.display_categories %} - -
-
    - {% for tag in site.display_tags %} -
  • - {{ tag }} -
  • - {% unless forloop.last %} -

    - {% endunless %} - {% endfor %} - {% if site.display_categories.size > 0 and site.display_tags.size > 0 %} -

    - {% endif %} - {% for category in site.display_categories %} -
  • - {{ category }} -
  • - {% unless forloop.last %} -

    - {% endunless %} - {% endfor %} -
-
- {% endif %} - -{% assign featured_posts = site.posts | where: "featured", "true" %} -{% if featured_posts.size > 0 %} -
- - -
- -{% endif %} - - - -{% if page.pagination.enabled %} -{% include pagination.liquid %} -{% endif %} - -
diff --git a/_pages/news.md b/_pages/news.md deleted file mode 100644 index 6223439..0000000 --- a/_pages/news.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -layout: page -title: news -permalink: /news/ ---- - -{% include news.liquid %} diff --git a/_pages/projects.md b/_pages/projects.md deleted file mode 100644 index e19d655..0000000 --- a/_pages/projects.md +++ /dev/null @@ -1,65 +0,0 @@ ---- -layout: page -title: projects -permalink: /projects/ -description: A growing collection of your cool projects. -nav: true -nav_order: 3 -display_categories: [work, fun] -horizontal: false ---- - - -
-{% if site.enable_project_categories and page.display_categories %} - - {% for category in page.display_categories %} - -

{{ category }}

-
- {% assign categorized_projects = site.projects | where: "category", category %} - {% assign sorted_projects = categorized_projects | sort: "importance" %} - - {% if page.horizontal %} -
-
- {% for project in sorted_projects %} - {% include projects_horizontal.liquid %} - {% endfor %} -
-
- {% else %} -
- {% for project in sorted_projects %} - {% include projects.liquid %} - {% endfor %} -
- {% endif %} - {% endfor %} - -{% else %} - - - -{% assign sorted_projects = site.projects | sort: "importance" %} - - - -{% if page.horizontal %} - -
-
- {% for project in sorted_projects %} - {% include projects_horizontal.liquid %} - {% endfor %} -
-
- {% else %} -
- {% for project in sorted_projects %} - {% include projects.liquid %} - {% endfor %} -
- {% endif %} -{% endif %} -
diff --git a/_pages/repositories.md b/_pages/repositories.md deleted file mode 100644 index 676137d..0000000 --- a/_pages/repositories.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -layout: page -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_order: 4 ---- - -## GitHub users - -{% if site.data.repositories.github_users %} - -
- {% for user in site.data.repositories.github_users %} - {% include repository/repo_user.liquid username=user %} - {% endfor %} -
- ---- - -{% if site.repo_trophies.enabled %} -{% for user in site.data.repositories.github_users %} -{% if site.data.repositories.github_users.size > 1 %} - -

{{ user }}

- {% endif %} -
- {% include repository/repo_trophies.liquid username=user %} -
- ---- - -{% endfor %} -{% endif %} -{% endif %} - -## GitHub Repositories - -{% if site.data.repositories.github_repos %} - -
- {% for repo in site.data.repositories.github_repos %} - {% include repository/repo.liquid repository=repo %} - {% endfor %} -
-{% endif %} diff --git a/_pages/teaching.md b/_pages/teaching.md deleted file mode 100644 index 87bb1a5..0000000 --- a/_pages/teaching.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -layout: page -permalink: /teaching/ -title: teaching -description: Materials for courses you taught. Replace this text with your description. -nav: true -nav_order: 6 ---- - -For now, this page is assumed to be a static description of your courses. You can convert it to a collection similar to `_projects/` so that you can have a dedicated page for each course. - -Organize your courses by years, topics, or universities, however you like!