Skip to content

Commit

Permalink
Merge pull request #31 from olifre/theme-color
Browse files Browse the repository at this point in the history
Setup theme-color in head tags.
  • Loading branch information
parkr authored Jul 16, 2021
2 parents 205fc48 + a38920a commit c6ed814
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions _includes/theme_color_meta_headers.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<!-- start theme color meta headers -->
<meta name="theme-color" content="#353535">
<meta name="msapplication-navbutton-color" content="#353535">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<!-- end theme color meta headers -->
2 changes: 2 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
<link rel="stylesheet" href="{{ '/assets/css/ie.css' | relative_url }}">
<![endif]-->
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<!-- Setup theme-color. -->
{% include theme_color_meta_headers.html %}

</head>
<body>
Expand Down

0 comments on commit c6ed814

Please sign in to comment.