Skip to content
Snippets Groups Projects
Commit 3c6cb681 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

home

parent 975bcef7
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,7 @@ class Communication::Website::Home < ApplicationRecord
# Override from WithGithubFiles
def github_path_generated
'_pages/index.html'
'content/_index.html'
end
end
---
layout: home
permalink: "/"
title: >
<%= @website.title %>
<%= @home.website.name %>
breadcrumb_title: "Accueil"
<% if @home.featured_image.attached? %>
image: "<%= @home.featured_image.blob.id %>"
image_alt: "<%= @home.featured_image_alt %>"
<% end %>
description: >
<%= strip_tags(@home.text.to_s).chomp %>
---
<%= prepare_for_github @home.text, @home.university %>
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