Skip to content

Commit

Permalink
Merge pull request #87 from sheeit/patch-1
Browse files Browse the repository at this point in the history
Fix doctype in layout.erb
  • Loading branch information
verhovsky authored Apr 9, 2024
2 parents f4cc8b6 + 9f9e53b commit 2941070
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions source/layouts/layout.erb
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<%
_lang = current_resource.metadata[:page].fetch(:lang, 'en-us')
%>
<!DOCTYPE html lang="<%= _lang %>" xml:lang="<%= _lang %>" xmlns="http://www.w3.org/1999/xhtml">
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<!DOCTYPE html>
<!--[if lt IE 7]> <html lang="<%= _lang %>" class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html lang="<%= _lang %>" class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html lang="<%= _lang %>" class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html lang="<%= _lang %>" class="no-js"> <!--<![endif]-->
<head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-WXC8R75DEN"></script>
Expand Down

0 comments on commit 2941070

Please sign in to comment.