Fixes youtube titles

master
Laurent 6 years ago
parent 997a356e18
commit 01e6731f1e
  1. 5
      news/static/news/css/app.css
  2. 4
      news/templates/news/index.html

@ -76,6 +76,11 @@ header h1 {
} }
} }
article h1 {
font-family: 'LibreBaskervilleBold';
font-size: 32px;
}
header h1 a { header h1 a {
padding: 5px 0px; padding: 5px 0px;
color: #fff; color: #fff;

@ -86,9 +86,7 @@
{% elif post.style == 3 %} {% elif post.style == 3 %}
<a href="{{ post.url }}"> <h1>{{ post.title }}</h1>
<h1>{{ post.title }}</h1>
</a>
<iframe class="youtube" src="https://www.youtube.com/embed/{{ post.url }}"></iframe> <iframe class="youtube" src="https://www.youtube.com/embed/{{ post.url }}"></iframe>

Loading…
Cancel
Save