[guadec-web] Removed trailing whitespaces in titles for pages and articles. Fixes #17



commit 518a746a29cce64c8c8119e252ce83a52f398200
Author: Oliver Gutierrez <ogutsua gmail com>
Date:   Wed Jun 27 13:39:44 2018 +0100

    Removed trailing whitespaces in titles for pages and articles. Fixes #17

 src/haml/article.haml | 20 ++++++++++----------
 src/haml/page.haml    |  2 +-
 2 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/src/haml/article.haml b/src/haml/article.haml
index 0c37d29..1e64f64 100644
--- a/src/haml/article.haml
+++ b/src/haml/article.haml
@@ -27,7 +27,7 @@
     = article.keywords
 
 - block header
-    %h1.head-title
+    %h1.head-title<
         = article.title
 
 - block contenthead
@@ -37,8 +37,8 @@
         %section#content.body
             %header
 
-                .h2
-                    .article-socialshare
+                .h2<
+                    .article-socialshare<
                         - include "includes/socialshare.html"
                     = article.title
 
@@ -47,22 +47,22 @@
 
             .post-info
                 %h4
-                    %time.published{:datetime => "{{ article.date.isoformat() }}"}
+                    %time.published{:datetime => "{{ article.date.isoformat() }}"}<
                         = article.locale_date
 
                 - if article.modified
-                    %time.modified{:datetime => "{{ article.modified.isoformat() }}"}
+                    %time.modified{:datetime => "{{ article.modified.isoformat() }}"}<
                         = article.locale_modified
 
                 - if article.authors
-                    %address.vcard.author
+                    %address.vcard.author<
                         by
                         - for author in article.authors
-                            %a.url.fn{:href => "{{ SITEURL }}/{{ author.url }}"}
+                            %a.url.fn{:href => "{{ SITEURL }}/{{ author.url }}"}<
                                 = author
 
                 - if article.tags
-                    %p
+                    %p<
                         Tags:
                             - for tag in article.tags
                                 %a{:href => "{{ SITEURL }}/{{ tag.url }}"}
@@ -71,9 +71,9 @@
                                     ,
 
                 - if article.license
-                    %p
+                    %p<
                         Article license:
                             = article.license
 
-            .entry-content
+            .entry-content<
                 = article.content
diff --git a/src/haml/page.haml b/src/haml/page.haml
index 7b8bae8..f2727cf 100644
--- a/src/haml/page.haml
+++ b/src/haml/page.haml
@@ -24,7 +24,7 @@
     = page.title
 
 - block header
-    %h1.head-title
+    %h1.head-title<
         = page.title
 
 - block contenthead


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]