Joomaen

Joomaen's xlog

Joomaen
tg_channel
jike

Typecho Simple Configuration

Typecho Plugin Records#

Screenshot 2025-02-10 13.45.19.png

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#

  1. Modified header.php, added a line of code around line 16 in <head> to display favicon.
    Screenshot 2025-02-10 13.47.01.png
    <link rel="shortcut icon" href="https://media.joomaen.top/favicon.ico" type="image/x-icon" />
  1. Added the following code at the bottom of the <footer> section in footer.php to call RunTime and PageViews

Screenshot 2025-02-10 12.57.49.png

    <?php PageViews_Plugin::showPageViews(); ?>
    <?php RunTime_Plugin::show(); ?>
  1. Adjusted font size
    Set font-size to 92.5% at line 17 in style.css, this is for desktop text size; similarly adjusted mobile text size at line 435:

Screenshot 2025-02-10 13.28.13.png

Screenshot 2025-02-10 13.30.48.png

# 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:

Screenshot 2025-02-10 13.27.51.png

    <link rel="stylesheet" href="<?php $this->options->themeUrl('style.css?v=1.1'); ?>">
  1. Theme Configuration
    I turned off the options for Display latest articles on the homepage and Article 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

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.