Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update page order per publish date #135

Merged
merged 2 commits into from
Oct 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/news/2024-10-02-SVE_42-Blog-MQTT.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ title: "MQTT vs LwM2M: The Battle of IoT Protocols for Lightweight Connectivity
subtitle:
description:
url:
date: 2024-Oct-02
date: 2024-Oct-01
by: OMA
homepage: 11
tags:
Expand Down
2 changes: 1 addition & 1 deletion pages/news/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default {
.only([
'image', 'title', 'subtitle', 'url', 'by', 'date', 'tags', 'slug', 'excerpt'
])
.sortBy('createdAt','desc')
.sortBy('date','desc')
.fetch()

const tags = new Set()
Expand Down