Merge pull request #16 from oddbird/body_classes

add body classes implementation
This commit is contained in:
Jonny Gerig Meyer 2023-02-17 13:16:10 -05:00 committed by GitHub
commit 0b2e2c6744
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,7 +45,9 @@
</script>
</head>
<body data-layout="body">
{%- assign classes = page.filePathStem | replace: "/", " " | strip -%}
<body data-layout="body" class="{{ classes }}">
<!--[if lt IE 9]>
<p class="browserupgrade">
You are using an <strong>outdated</strong> browser. Please <a href="https://browsehappy.com/">upgrade your browser</a> to improve your experience and security.