Skip to content

Commit

Permalink
chore: rename content source file
Browse files Browse the repository at this point in the history
  • Loading branch information
raisedadead committed Apr 14, 2024
1 parent 85cfaaf commit c5dd425
Show file tree
Hide file tree
Showing 10 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/404.njk
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ permalink: 404.html
<aside class="outer">
<div class="inner">
<div class="post-feed">
{% for post in ghost.posts.slice(0, 4) %}
{% for post in datasource.posts.slice(0, 4) %}
{{ card(post, loop.index0) }}
{% endfor %}
</div>
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/_includes/layouts/tag.njk
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{% set title = tag.name + " - " + site.title %}
{% set canonicalUrl = tag.path | htmlBaseUrl(site.url) %}
{% set postCount = tag.count.posts %}
{% set popularTags = ghost.popularTags %}
{% set popularTags = datasource.popularTags %}

{% block content %}
<div class="under-header-content">
Expand Down
2 changes: 1 addition & 1 deletion src/authors/authors.njk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
pagination:
data: ghost.authors
data: datasource.authors
size: 1
alias: author
addAllPagesToCollections: true
Expand Down
2 changes: 1 addition & 1 deletion src/docs/docs.njk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
pagination:
data: ghost.pages
data: datasource.pages
size: 1
alias: 'doc'
addAllPagesToCollections: true
Expand Down
2 changes: 1 addition & 1 deletion src/feeds/feeds.njk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
pagination:
data: ghost.feeds
data: datasource.feeds
size: 1
alias: feed
addAllPagesToCollections: true
Expand Down
2 changes: 1 addition & 1 deletion src/index.njk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
pagination:
data: ghost.posts
data: datasource.posts
size: 25
alias: posts
---
Expand Down
2 changes: 1 addition & 1 deletion src/posts/posts.njk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
pagination:
data: ghost.posts
data: datasource.posts
size: 1
alias: post
addAllPagesToCollections: true
Expand Down
2 changes: 1 addition & 1 deletion src/sitemaps/sitemaps.njk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
pagination:
data: ghost.sitemaps
data: datasource.sitemaps
size: 1
alias: sitemap
addAllPagesToCollections: true
Expand Down
2 changes: 1 addition & 1 deletion src/tags/tags.njk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
pagination:
data: ghost.tags
data: datasource.tags
size: 1
alias: tag
addAllPagesToCollections: true
Expand Down

0 comments on commit c5dd425

Please sign in to comment.