mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-17 06:52:27 +01:00
add links to RSS feeds into application header
This commit is contained in:
parent
34ad1c9056
commit
1ef2c11355
@ -90,7 +90,7 @@
|
||||
<div class="card-header-bg" style="background-image: url({{project.project_image}});">
|
||||
<img src="data:image/png;base64," data-src="holder.js/100%x100%/text:/font:FontAwesome/icon" bs-holder ng-if="!project.project_image">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="card-block">
|
||||
|
@ -65,6 +65,9 @@
|
||||
<link rel="shortcut icon" type="image/ico" href="<%= CustomAsset.get_url('favicon-file') %>">
|
||||
<% end %>
|
||||
|
||||
<!-- RSS -->
|
||||
<link rel="alternate" type="application/rss+xml" title="RSS: <%= t('app.public.projects_list.the_fablab_projects') %>" href="<%= rss_projects_path %>.xml">
|
||||
<link rel="alternate" type="application/rss+xml" title="RSS: <%= t('app.public.events_list.the_fablab_s_events') %>" href="<%= rss_events_path %>.xml">
|
||||
|
||||
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
|
@ -135,8 +135,8 @@ Rails.application.routes.draw do
|
||||
# rss
|
||||
|
||||
namespace :rss, as: nil, defaults: { format: :xml } do
|
||||
resources :projects, only: [:index]
|
||||
resources :events, only: [:index]
|
||||
resources :projects, only: [:index], as: 'rss_projects'
|
||||
resources :events, only: [:index], as: 'rss_events'
|
||||
end
|
||||
|
||||
# open_api
|
||||
|
Loading…
x
Reference in New Issue
Block a user