mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
#1995 SEO fixes for w3 validator
This commit is contained in:
parent
686941a892
commit
2729201e9d
@ -1,15 +1,15 @@
|
||||
<!doctype html>
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<html class="nojs ms lt_ie7" lang="en"><![endif]-->
|
||||
<html class="nojs ms lt_ie7" lang="{{ config('app.locale') }}"><![endif]-->
|
||||
<!--[if IE 7]>
|
||||
<html class="nojs ms ie7" lang="en"><![endif]-->
|
||||
<html class="nojs ms ie7" lang="{{ config('app.locale') }}"><![endif]-->
|
||||
<!--[if IE 8]>
|
||||
<html class="nojs ms ie8" lang="en"><![endif]-->
|
||||
<html class="nojs ms ie8" lang="{{ config('app.locale') }}"><![endif]-->
|
||||
<!--[if gt IE 8]>
|
||||
<html class="nojs ms" lang="en"><![endif]-->
|
||||
<html class="nojs ms" lang="{{ config('app.locale') }}"><![endif]-->
|
||||
|
||||
<html>
|
||||
<html lang="{{ config('app.locale') }}">
|
||||
|
||||
<head>
|
||||
{% include "visiosoft.theme.base::partials/metadata" %}
|
||||
|
||||
@ -1,15 +1,15 @@
|
||||
<!doctype html>
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<html class="nojs ms lt_ie7" lang="en"><![endif]-->
|
||||
<html class="nojs ms lt_ie7" lang="{{ config('app.locale') }}"><![endif]-->
|
||||
<!--[if IE 7]>
|
||||
<html class="nojs ms ie7" lang="en"><![endif]-->
|
||||
<html class="nojs ms ie7" lang="{{ config('app.locale') }}"><![endif]-->
|
||||
<!--[if IE 8]>
|
||||
<html class="nojs ms ie8" lang="en"><![endif]-->
|
||||
<html class="nojs ms ie8" lang="{{ config('app.locale') }}"><![endif]-->
|
||||
<!--[if gt IE 8]>
|
||||
<html class="nojs ms" lang="en"><![endif]-->
|
||||
<html class="nojs ms" lang="{{ config('app.locale') }}"><![endif]-->
|
||||
|
||||
<html>
|
||||
<html lang="{{ config('app.locale') }}">
|
||||
|
||||
<head>
|
||||
{% include "visiosoft.theme.base::partials/metadata" %}
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
{{ title ?: setting_value('streams::name','Visiosoft LTD.') }}
|
||||
</title>
|
||||
|
||||
<style type="text/css" rel="stylesheet" media="all">
|
||||
<style rel="stylesheet" media="all">
|
||||
/* Media Queries */
|
||||
@media only screen and (max-width: 500px) {
|
||||
.button {
|
||||
|
||||
@ -2,9 +2,6 @@
|
||||
Main CSS can be found in metadata.twig
|
||||
#}
|
||||
|
||||
<!-- VueJS Requirements -->
|
||||
<script type="text/javascript" src="{{ asset('js/app.js') }}"></script>
|
||||
|
||||
{# Core Theme Components #}
|
||||
{{ asset_add("theme.js", "visiosoft.theme.base::js/popper.min.js") }}
|
||||
{{ asset_add("theme.js", "visiosoft.theme.base::js/bootstrap.min.js") }}
|
||||
@ -24,20 +21,20 @@
|
||||
{{ asset_script("theme.js") }}
|
||||
|
||||
{# Include Styles Loaded From Outside #}
|
||||
<style type="text/css">
|
||||
<style>
|
||||
{% for style in asset_inlines("styles.css", ["min"]) %}
|
||||
{{ style|raw }}
|
||||
{% endfor %}
|
||||
</style>
|
||||
|
||||
{# Include Scripts Loaded From Outside #}
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
{% for script in asset_inlines("scripts.js", ["min"]) %}
|
||||
{{ script|raw }}
|
||||
{% endfor %}
|
||||
</script>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
{% for script in asset_inlines("customjs.js") %}
|
||||
{{ script|raw }}
|
||||
{% endfor %}
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
<img src="{{ img('visiosoft.theme.base::images/default-categories-icon.png').url }}" alt="{{ main_category.name }}"
|
||||
class="img-responsive">
|
||||
{% endif %}
|
||||
<font>{{ main_category.name }}</font>
|
||||
<span>{{ main_category.name }}</span>
|
||||
<p class="p-0 sub-categories">
|
||||
{% set sub_categories = entries('cats','category').where('parent_category_id', main_category.id).where('deleted_at', null).orderBy('sort_order').get() %}
|
||||
{% for sub_category in sub_categories|slice(0,sub_categories_limit) %}
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<section id="messages">
|
||||
<div id="messages">
|
||||
|
||||
<!-- Success Messages -->
|
||||
{% if message_exists('success') %}
|
||||
@ -54,4 +54,4 @@
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@ -1,6 +1,3 @@
|
||||
<!-- Locale -->
|
||||
<meta http-equiv="Content-Language" content="{{ config('app.locale') }}">
|
||||
|
||||
<!-- VueJS Requirements -->
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}" />
|
||||
|
||||
@ -27,7 +24,7 @@
|
||||
{% include "visiosoft.theme.base::partials/styles" %}
|
||||
|
||||
{# Custom Theme Components #}
|
||||
<style type="text/css">
|
||||
<style>
|
||||
{% for style in asset_inlines("custom-theme.css", ["min"]) %}
|
||||
{{ style|raw }}
|
||||
{% endfor %}
|
||||
|
||||
@ -1,12 +1,12 @@
|
||||
<!-- Meta Tags -->
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width"/>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<meta name="generator" content="{{ config_get('streams::distribution.name') }}"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
|
||||
<meta name="description"
|
||||
content="{{ (template.get('meta_description') ?: setting_value('streams::description'))|slice(0,160) }}"/>
|
||||
<meta name="keywords" content="{{ template.get('meta_keywords') }}" />
|
||||
{{ setting_value('visiosoft.module.advs::google_statistic_code')|raw }}
|
||||
<!-- Meta Tags -->
|
||||
|
||||
<title>
|
||||
|
||||
@ -1 +0,0 @@
|
||||
{{ setting_value('visiosoft.module.advs::google_statistic_code')|raw }}
|
||||
@ -1,3 +1,3 @@
|
||||
<style type="text/css">
|
||||
<style>
|
||||
{{ setting_value("visiosoft.theme.base::style")|raw }}
|
||||
</style>
|
||||
Loading…
Reference in New Issue
Block a user