[add] Include user.css if file existe
Use user.css to overwrite original CSS. [upd] .gitignore for exclude user.css
This commit is contained in:
parent
bc1722c26c
commit
4b5bdc446e
2 changed files with 6 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -2,3 +2,4 @@
|
|||
0.3/.xsaflock
|
||||
0.3/rss.xml
|
||||
.project
|
||||
0.3/user.css
|
||||
|
|
|
@ -658,6 +658,11 @@ if( !empty($_POST['opml_file']) && ALLOW_NEW_AUTOBLOGS && ALLOW_NEW_AUTOBLOGS_BY
|
|||
<title>Projet Autoblog<?php if(!empty($head_title)) { echo " | " . escape($head_title); } ?></title>
|
||||
<link rel="alternate" type="application/rss+xml" title="RSS" href="<?php echo serverUrl(true) . RSS_FILE;?>" />
|
||||
<link href="autoblog.css" rel="stylesheet" type="text/css">
|
||||
<?php
|
||||
if(file_exists('user.css')){
|
||||
echo '<link href="user.css" rel="stylesheet" type="text/css">';
|
||||
}
|
||||
?>
|
||||
</head>
|
||||
<body>
|
||||
<h1><a href="<?php echo serverUrl(true); ?>">PROJET AUTOBLOG<?php if(!empty($head_title)) { echo " | " . escape($head_title); } ?></a></h1>
|
||||
|
|
Loading…
Reference in a new issue