From e9ce2e0e708fd5bacbd3a82eb73a82b901448d92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Renato=20de=20Le=C3=A3o?= Date: Thu, 6 Oct 2016 05:00:07 +0100 Subject: [PATCH] Moved html head to _head partial MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In case of multiple layouts it’s easier to copy and re-use --- app/views/layouts/default.html | 25 ++--------------------- app/views/partials/application/_head.html | 22 ++++++++++++++++++++ 2 files changed, 24 insertions(+), 23 deletions(-) create mode 100644 app/views/partials/application/_head.html diff --git a/app/views/layouts/default.html b/app/views/layouts/default.html index cd81bc5..19348f4 100644 --- a/app/views/layouts/default.html +++ b/app/views/layouts/default.html @@ -1,28 +1,7 @@ - + - - - - - Title - - - - - {{> _crossplatform_favicons}} - - - - - - - - - - {{> _sharing_meta_tags }} - - + {{> _head}} diff --git a/app/views/partials/application/_head.html b/app/views/partials/application/_head.html new file mode 100644 index 0000000..51de354 --- /dev/null +++ b/app/views/partials/application/_head.html @@ -0,0 +1,22 @@ + + + + +Title + + + + +{{> _crossplatform_favicons}} + + + + + + + + + +{{> _sharing_meta_tags }} + + \ No newline at end of file