Skip to content
Snippets Groups Projects
Unverified Commit a55e3652 authored by Sébastien Gaya's avatar Sébastien Gaya
Browse files

identifier, author & categories

parent a6288eef
No related branches found
No related tags found
No related merge requests found
---
identifier: "<%= @author.id %>"
first_name: "<%= @author.first_name %>"
last_name: "<%= @author.last_name %>"
slug: "<%= @author.slug %>"
......
......@@ -2,6 +2,11 @@
title: "<%= @post.title %>"
date: <%= @post.published_at %> UTC
slug: "<%= @post.slug %>"
author: "<%= @post.author_id %>"
categories:
<% @post.categories.each do |category| %>
- "<%= category.id %>"
<% end %>
<% if @post.featured_image.attached? %>
image: "<%= @post.featured_image.blob.id %>"
<% end %>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment