Browse Source

[TWIG] Removing unnecessary CSS classes. Removing network/feed CSS preloading.

remotes/upstream/experimental
Eliseu Amaro 7 months ago
parent
commit
bd5c426046
2 changed files with 2 additions and 3 deletions
  1. +1
    -1
      templates/base.html.twig
  2. +1
    -2
      templates/network/feed.html.twig

+ 1
- 1
templates/base.html.twig View File

@@ -66,7 +66,7 @@
{% block header %}
{% set extra_header_forms = handle_event('AddExtraHeaderForms', request) %}

<header id="header" class="set-background-color-1">
<header id="header">
{{ block("leftpanel", "stdgrid.html.twig") }}

<a id="anchor-main-page" class="anchor-hidden" title="{{ 'Press tab to access instance\'s main page.' | trans }}"></a>


+ 1
- 2
templates/network/feed.html.twig View File

@@ -4,8 +4,7 @@

{% block stylesheets %}
{{ parent() }}
<link rel="preload" href="{{ asset('assets/default_theme/css/pages/feeds.css') }}" as="style" type="text/css">
<link rel="stylesheet" href="{{ asset('assets/default_theme/css/pages/feeds.css') }}">
<link rel="stylesheet" href="{{ asset('assets/default_theme/css/pages/feeds.css') }}" type="text/css">
{% endblock stylesheets %}

{% block body %}


Loading…
Cancel
Save