mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2024-11-18 02:07:05 +01:00
Alan Orth
6a3bdc53fd
This uses rtlcss to make a right-to-left version of the CSS and then utilizes Hugo's Language variable to conditionally include it. Also, we set the "dir" attribute on the HTML tag if the currently rendered language is Arabic.
7 lines
193 B
JSON
7 lines
193 B
JSON
{
|
|
"style": "static/css/style.css",
|
|
"stylertl": "static/css/style.rtl.css",
|
|
"cookieconsentcss": "static/css/cookieconsent.min.css",
|
|
"cookieconsentjs": "static/js/cookieconsent.min.js"
|
|
}
|