mirror of
https://github.com/danog/sass-site.git
synced 2025-01-22 13:51:46 +01:00
Merge pull request #16 from oddbird/body_classes
add body classes implementation
This commit is contained in:
commit
0b2e2c6744
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user