mirror of
https://github.com/Derpy-Leggies/OnlyLegs.git
synced 2025-01-17 03:55:19 +00:00
Correct path for Webassets
This commit is contained in:
parent
f540c234f3
commit
fe82109272
|
@ -74,24 +74,11 @@ $breakpoint: 800px
|
||||||
|
|
||||||
--breakpoint: 800px
|
--breakpoint: 800px
|
||||||
|
|
||||||
|
// I have no clue if its webassets or libsass thats doing this shit
|
||||||
@font-face
|
// But one of them is trying to "correct" the path, and 404-ing the
|
||||||
font-family: 'Work Sans'
|
// font, so enjoy this path fuckery
|
||||||
src: url('fonts/worksans-regular.woff2')
|
|
||||||
font-weight: 400
|
|
||||||
|
|
||||||
@font-face
|
|
||||||
font-family: 'Work Sans'
|
|
||||||
src: url('fonts/worksans-bold.woff2')
|
|
||||||
font-weight: 600
|
|
||||||
|
|
||||||
@font-face
|
|
||||||
font-family: 'Work Sans'
|
|
||||||
src: url('fonts/worksans-black.woff2')
|
|
||||||
font-weight: 900
|
|
||||||
|
|
||||||
@font-face
|
@font-face
|
||||||
font-family: 'Manrope'
|
font-family: 'Manrope'
|
||||||
src: url('fonts/Manrope[wght].woff2') format('woff2')
|
src: url('../../../../static/fonts/Manrope[wght].woff2') format('woff2')
|
||||||
font-style: normal
|
font-style: normal
|
||||||
font-display: swap
|
font-display: swap
|
||||||
|
|
|
@ -1,17 +1,15 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
|
<title>{{ config.WEBSITE.name }}</title>
|
||||||
|
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|
||||||
<title>{{ config.WEBSITE.name }}</title>
|
|
||||||
<meta name="description" content="{{ config.WEBSITE.motto }}"/>
|
<meta name="description" content="{{ config.WEBSITE.motto }}"/>
|
||||||
<meta name="author" content="{{ config.WEBSITE.author }}"/>
|
<meta name="author" content="{{ config.WEBSITE.author }}"/>
|
||||||
|
|
||||||
<meta property="og:title" content="{{ config.WEBSITE.name }}"/>
|
<meta property="og:title" content="{{ config.WEBSITE.name }}"/>
|
||||||
<meta property="og:description" content="{{ config.WEBSITE.motto }}"/>
|
<meta property="og:description" content="{{ config.WEBSITE.motto }}"/>
|
||||||
<meta property="og:type" content="website"/>
|
<meta property="og:type" content="website"/>
|
||||||
|
|
||||||
<meta name="twitter:title" content="{{ config.WEBSITE.name }}"/>
|
<meta name="twitter:title" content="{{ config.WEBSITE.name }}"/>
|
||||||
<meta name="twitter:description" content="{{ config.WEBSITE.motto }}"/>
|
<meta name="twitter:description" content="{{ config.WEBSITE.motto }}"/>
|
||||||
<meta name="twitter:card" content="summary_large_image">
|
<meta name="twitter:card" content="summary_large_image">
|
||||||
|
@ -27,14 +25,12 @@
|
||||||
type="image/svg+xml"
|
type="image/svg+xml"
|
||||||
media="(prefers-color-scheme: dark)"/>
|
media="(prefers-color-scheme: dark)"/>
|
||||||
|
|
||||||
<link rel="stylesheet" href="{{url_for('static', filename='theme/style.css')}}" defer>
|
|
||||||
|
|
||||||
{% assets "js_pre" %}
|
{% assets "js_pre" %}
|
||||||
<script type="text/javascript" src="{{ ASSET_URL }}"></script>
|
<script type="text/javascript" src="{{ ASSET_URL }}"></script>
|
||||||
{% endassets %}
|
{% endassets %}
|
||||||
|
|
||||||
{% assets "styles" %}
|
{% assets "styles" %}
|
||||||
<link rel="stylesheet" href="{{ ASSET_URL }}" defer>
|
<link rel="stylesheet" href="{{ ASSET_URL }}" type="text/css" defer>
|
||||||
{% endassets %}
|
{% endassets %}
|
||||||
|
|
||||||
{% block head %}{% endblock %}
|
{% block head %}{% endblock %}
|
||||||
|
|
Loading…
Reference in a new issue