Skip to content

Commit

Permalink
add meta tag for google
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin Issleib <ben@kampfq.eu>
  • Loading branch information
kampfq committed Feb 16, 2019
1 parent ba854f4 commit 5574b69
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
1 change: 1 addition & 0 deletions app/Resources/views/base.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
{% block meta %}{% endblock %}
<link href="{{ asset('/css/master.css') }}" rel="stylesheet">
<link href="{{ asset('/css/perfect-scrollbar.css') }}" rel="stylesheet">
</head>
Expand Down
10 changes: 5 additions & 5 deletions src/Podlatch/PublisherBackendBundle/Resources/config/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,12 +168,12 @@ easy_admin:
class: Podlatch\PublisherCoreBundle\Entity\PodcastEpisode
list:
fields:
- { property: 'image', type: 'image', base_path: '%app.path.episode_images%' }
- episodeSeason
- episodeNumber
- { property: 'podcastShow', label: 'Podcast' }
- { property: 'episodeSeason', label: 'Season' }
- { property: 'episodeNumber', label: 'Episode' }
- title
- subtitle
- podcastShow
- { property: 'image', type: 'image', base_path: '%app.path.episode_images%' }

form:
fields:
- { type: 'group', css_class: 'col-sm-8', label: 'Basic information' }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{% extends "::base.html.twig" %}

{% block meta %}
<link type="application/rss+xml" rel="alternate" title="{{ podcast.getTitle() }}" href="{{ url('publisher_frontend_itunes_feed',{'podcastId': podcast.getId()}) }}"/>
{% endblock %}

{% block content %}

<section class="hero is-primary">
Expand Down

0 comments on commit 5574b69

Please sign in to comment.