Browse Source

mark this site mobile friendly, allow pages to override as needed..

main
John-Mark Gurney 3 years ago
parent
commit
db158e8f4c
2 changed files with 3 additions and 1 deletions
  1. +2
    -1
      layout/base.j2
  2. +1
    -0
      site.yaml

+ 2
- 1
layout/base.j2 View File

@@ -44,7 +44,8 @@
<meta name="author" content="{{ resource.meta.author }}">

<!-- Mobile viewport optimized: j.mp/bplateviewport -->
<meta name="viewport" content="{{ resource.meta.viewport }}">

<meta name="viewport" content="{{ resource.meta.viewport or site.context.viewport }}">

{% block css %}
<link rel="stylesheet" href="{{ media_url('css/w3.css') }}">


+ 1
- 0
site.yaml View File

@@ -11,6 +11,7 @@ plugins:
- hyde.ext.plugins.text.TextlinksPlugin
context:
data:
viewport: width=device-width, initial-scale=1
tweet_via: encthenet
title: encthenet ramblings
jinja2:


Loading…
Cancel
Save