Use frontend-css in preview (#60)
preview_iframe.tpl used head_link_stylesheet, which contains the link to the backend-css while in the backend, like when the preview is generated. This workaround constructs the path to the frontend-css manually - which should work as long as it follows the convention fo being called serendipity.css, which is hardcoded everywhere anyway
This commit is contained in:
parent
3ebc962a71
commit
bd6fd1d103
@ -21,7 +21,7 @@
|
||||
{elseif $template_option.webfonts == 'dserif'}
|
||||
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Droid+Serif:400,400italic,700,700italic">
|
||||
{/if}
|
||||
<link rel="stylesheet" href="{$head_link_stylesheet}">
|
||||
<link rel="stylesheet" href="{$serendipityHTTPPath}{$serendipityRewritePrefix}serendipity.css">
|
||||
{if $template_option.userstyles == true}
|
||||
<link rel="stylesheet" href="{serendipity_getFile file="user.css"}">
|
||||
{/if}
|
||||
|
Loading…
x
Reference in New Issue
Block a user