Skeleton: add theme option to disable Google webfonts
This commit is contained in:
parent
0bdae3b18c
commit
b6d06e16c0
@ -1,2 +1,3 @@
|
||||
<?php
|
||||
@define('USE_CORENAV', 'Globale Navigation einbinden?');
|
||||
@define('USE_GOOGLEFONTS', 'Google Webfonts einbinden?');
|
@ -1,2 +1,3 @@
|
||||
<?php
|
||||
@define('USE_CORENAV', 'Use global navigation?');
|
||||
@define('USE_GOOGLEFONTS', 'Use Google webfonts?');
|
@ -17,7 +17,9 @@
|
||||
{if ($view == "start")}
|
||||
<link rel="canonical" href="{$serendipityBaseURL}">
|
||||
{/if}
|
||||
{if $template_option.use_googlefonts}
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Raleway:400,300,600">
|
||||
{/if}
|
||||
<link rel="stylesheet" href="{$head_link_stylesheet}">
|
||||
<link rel="alternate" type="application/rss+xml" title="{$blogTitle} RSS feed" href="{$serendipityBaseURL}{$serendipityRewritePrefix}feeds/index.rss2">
|
||||
<link rel="alternate" type="application/x.atom+xml" title="{$blogTitle} Atom feed" href="{$serendipityBaseURL}{$serendipityRewritePrefix}feeds/atom.xml">
|
||||
@ -83,4 +85,4 @@
|
||||
{if $is_embedded != true}
|
||||
</body>
|
||||
</html>
|
||||
{/if}
|
||||
{/if}
|
@ -1,5 +1,5 @@
|
||||
Name: Skeleton
|
||||
Author: Matthias Mees, based on http://getskeleton.com
|
||||
Date: 2016-09-19
|
||||
Date: 2018-04-09
|
||||
Require Serendipity: 2.0
|
||||
Recommended: Yes
|
||||
Recommended: Yes
|
@ -1,2 +1,3 @@
|
||||
<?php
|
||||
@define('USE_CORENAV', 'Globale Navigation einbinden?');
|
||||
@define('USE_GOOGLEFONTS', 'Google Webfonts einbinden?');
|
@ -1,2 +1,3 @@
|
||||
<?php
|
||||
@define('USE_CORENAV', 'Use global navigation?');
|
||||
@define('USE_GOOGLEFONTS', 'Use Google webfonts?');
|
@ -4,7 +4,9 @@
|
||||
<meta charset="{$head_charset}">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{$CONST.SERENDIPITY_ADMIN_SUITE}</title>
|
||||
{if $template_option.use_googlefonts}
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Raleway:400,300,600">
|
||||
{/if}
|
||||
<link rel="stylesheet" href="{$serendipityHTTPPath}{$serendipityRewritePrefix}serendipity.css">
|
||||
{serendipity_hookPlugin hook="backend_header" hookAll="true"}
|
||||
<script src="{serendipity_getFile file='admin/js/plugins.js'}"></script>
|
||||
|
Loading…
x
Reference in New Issue
Block a user