mirror of
https://github.com/suk-ws/ph-Bookshelf.git
synced 2024-12-04 08:56:52 +08:00
fix gitignore problem
This commit is contained in:
parent
05f91605c7
commit
2b99426289
1
.gitignore
vendored
1
.gitignore
vendored
@ -11,6 +11,7 @@ composer.phar
|
||||
|
||||
# 忽略数据
|
||||
data
|
||||
!src/Data/
|
||||
|
||||
# 不忽略配置文件
|
||||
!.htaccess
|
||||
|
25
src/Data/SiteConfig/ConfigName.php
Normal file
25
src/Data/SiteConfig/ConfigName.php
Normal file
@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
namespace SukWs\Bookshelf\Data\SiteConfig;
|
||||
|
||||
class ConfigName {
|
||||
|
||||
public const robots_txt = "site.robots";
|
||||
|
||||
public const highlightjs = "highlightjs";
|
||||
public const highlightjs_theme = "highlightjs.theme";
|
||||
public const highlightjs_lang = "highlightjs.languages";
|
||||
|
||||
public const codeblock_bg = "codeblock.bg-color";
|
||||
public const codeblock_fg = "codeblock.fg-color";
|
||||
public const codeblock_tab_size = "codeblock.tab-size";
|
||||
|
||||
public const regex_highlight = "regex.highlight";
|
||||
|
||||
public const ext_listing_rainbow = "listing.marker.rainbow";
|
||||
public const ext_title_permalink_flash = "title.permalink.flash";
|
||||
public const ext_rolling_title = "web-title.rolling";
|
||||
|
||||
public const old_title_gen = "old.title.gen";
|
||||
|
||||
}
|
10
src/Data/SiteConfig/RobotsPolicy.php
Normal file
10
src/Data/SiteConfig/RobotsPolicy.php
Normal file
@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace SukWs\Bookshelf\Data\SiteConfig;
|
||||
|
||||
enum RobotsPolicy {
|
||||
case allow;
|
||||
case deny;
|
||||
case file;
|
||||
case raw;
|
||||
}
|
Loading…
Reference in New Issue
Block a user