Skip to content

Commit

Permalink
fix jekyll config
Browse files Browse the repository at this point in the history
  • Loading branch information
dsonyy committed Nov 1, 2024
1 parent 3dc5d8c commit 44e0630
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 20 deletions.
21 changes: 5 additions & 16 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
# Site Specific Configuration
name: LightSpeed
description: A simple Jekyll theme
url: https://example.com
author: tajacks
timezone: America/Toronto
timezone_short: ET
name: Awesome Rovers
description: Discover a world of rovers from NASA, student projects, DIY builds, and educational creations! Dive into fascinating stories, innovations, and unique features of each rover exploring our planet and beyond.
url: https://dsonyy.github.io/awesomerovers
author: dsonyy

# Post summary
excerpt_separator: <!--more-->
Expand All @@ -24,14 +22,6 @@ sass:
sass_dir: _sass
style: expanded # compact, expanded or compressed

# Paginate v2
pagination:
enabled: true
# collection: "_posts"
# per_page: 10
# permalink: "/page/:num/"
# sort_field: "title"

# Category Paginating
autopages:
enabled: true
Expand All @@ -41,10 +31,9 @@ autopages:
silent: false

# Exclusions
exclude: ["README.md", "COPYING"]
exclude: ["README.md", "LICENSE"]

# Plugins
plugins:
- jekyll-feed
- jekyll-paginate-v2
- jekyll-seo-tag
6 changes: 2 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
---
layout: default
title: Only Rovers
pagination:
enabled: true
---

{% if site.posts %} {% for post in paginator.posts %} {% include post.html
post=post %} {% endfor %} {% endif %}
{% if site.posts %} {% for post in site.posts %} {% include post.html post=post
%} {% endfor %} {% endif %}

0 comments on commit 44e0630

Please sign in to comment.