Typecho Plugin Records#
AdsAndStats: Google analytics
https://typecho.work/archives/AdsAndStats.html
https://github.com/flyhunterl/AdsAndStats
CommentNotifier: Comment email notification
https://github.com/typecho-fans/plugins/tree/master/CommentNotifier
TePostViews: Theme recommendation, statistics view count
https://typecho.work/archives/TePostViews.html
Sitemap: Generate a sitemap for Google indexing
https://github.com/typecho-fans/plugins/tree/master/Sitemap
RunTime: Display website runtime
https://github.com/ponycool/typecho-plugins/tree/master/RunTime
PageViews: Display total website visits
https://github.com/ponycool/typecho-plugins/tree/master/PageViews
TagsList: Add tag selection list when editing articles in the backend
https://github.com/ponycool/typecho-plugins/tree/master/TagsList
The theme uses the Millennium theme by Feiwu
https://www.bwsl.wang/csother/140.html
Personal Modifications#
- Modified
header.php
, added a line of code around line 16 in<head>
to display favicon.
<link rel="shortcut icon" href="https://media.joomaen.top/favicon.ico" type="image/x-icon" />
- Added the following code at the bottom of the
<footer>
section infooter.php
to call RunTime and PageViews
<?php PageViews_Plugin::showPageViews(); ?>
<?php RunTime_Plugin::show(); ?>
- Adjusted font size
Setfont-size
to92.5%
at line 17 instyle.css
, this is for desktop text size; similarly adjusted mobile text size at line 435:
# Around line 17
body {
background-color: #FFF;
color: #444;
/*font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;*/
font-family: "Droid Serif", Georgia, "Times New Roman", "PingFang SC", "Hiragino Sans GB", "Source Han Sans CN", "WenQuanYi Micro Hei","Microsoft Yahei", serif;
font-size: 92.5%;
}
# Around line 435
@media (max-width: 767px) {
body {
font-size: 92.5%;
}
#nav-menu a {
float: none;
display: inline-block;
margin: 0 -2px;
}
}
There is also a simpler and more straightforward method to comment out the font-size
settings in these two places, which will also make it larger.
To take effect immediately, you can add ?v=1.1
after the reference to style.css
in header.php
, and change the version number each time you modify the CSS file to refresh directly, like this:
<link rel="stylesheet" href="<?php $this->options->themeUrl('style.css?v=1.1'); ?>">
- Theme Configuration
I turned off the options forDisplay latest articles on the homepage
andArticle archive
, as I have a dedicated archive page.
This is filled in Settings Appearance - Contact Me
, with detailed explanations on the theme page.
憹人懌夢,https://blog.joomaen.top,,憹人懌夢
RSS,/feed,fa fa-rss,RSS
Tag Page#
This is a page template I had AI write based on online templates. Create a new page as a tag page and apply this template.
Download the PHP file and place it in the theme root directory.
https://media.235421.xyz/Typecho/tags.php
Archive Page#
Also generated by AI, with the same appearance as the tag page.
However, since the original theme already has an archive.php
file, I named it archive-zyg.php
.
https://media.235421.xyz/Typecho/archive-zyg.php