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