Skip to content

update config#1565

Draft
suhe-de wants to merge 6 commits intodaattali:masterfrom
suhe-de:master
Draft

update config#1565
suhe-de wants to merge 6 commits intodaattali:masterfrom
suhe-de:master

Conversation

@suhe-de
Copy link
Copy Markdown

@suhe-de suhe-de commented Apr 20, 2026

Please note that if you are trying to update your website, this is the wrong place to do so. Please carefully follow the Beautiful Jekyll instructions (found at https://github.com/daattali/beautiful-jekyll#readme) and make sure you submit changes to your version of the project.

If your intention is to submit a Pull Request, please describe what your pull request achieves.

Thank you!

Summary by CodeRabbit

  • Chores
    • Updated site title and author to reflect SUHE/XWANG and adjusted homepage title/subtitle.
    • Updated primary contact email and streamlined navigation by removing legacy navbar entries.
    • Disabled optional social platform links while keeping email and RSS enabled; updated RSS description to "日常记录".
  • Documentation
    • Revised About page and a blog post: updated titles, simplified content, and removed obsolete example images.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 20, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: be9877ae-92a1-4b24-9441-01f792c4594d

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

Personalization of a Jekyll site: site metadata and social/contact settings in _config.yml were updated, and content pages (index.html, aboutme.md, and a sample post) were rewritten or retitled with new owner information and Chinese text.

Changes

Cohort / File(s) Summary
Site Configuration
_config.yml
Changed title → "SUHE's website", author → "XWANG", updated contact email to csu_xwang@163.com; commented out most social providers (facebook, github, twitter, patreon, youtube, whatsapp); left rss: true; updated rss-description to "日常记录"; removed some navbar entries.
Content Pages
_posts/2020-02-28-sample-markdown.md, aboutme.md, index.html
Retitled sample post to "软件开发学习笔记" and removed some images/links; aboutme.md subtitle/content replaced with Chinese text ("此站发布学习生活日常") and simplified intro; index.html front-matter title → "suheの个人站", subtitle → "开发笔记".

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

🐇 我是一只小兔子,键盘上跳跃,

网站换了名字,旧链条悄悄褪色,
日常记录在风中轻轻落笔,
配置与文章都换成了新衣裳,
咕噜一声,站点更暖了。

🚥 Pre-merge checks | ✅ 1 | ❌ 2

❌ Failed checks (1 warning, 1 inconclusive)

Check name Status Explanation Resolution
Description check ⚠️ Warning The PR description is the template boilerplate and does not describe what this pull request actually achieves or why these changes were made. Replace the template text with a detailed description of the changes made, including the reason for updating site metadata, social links, and content.
Title check ❓ Inconclusive The title 'update config' is vague and does not clearly describe the specific changes made to the configuration file. Use a more descriptive title that specifies what config was updated, such as 'Update site metadata and social links configuration'.
✅ Passed checks (1 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 4

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@_config.yml`:
- Around line 13-16: Revert the personal PII added to the site config by
restoring neutral defaults for the title, author, and contact fields: change the
title value back to the template default (instead of "SUHE's website"), set
author back to a neutral placeholder (instead of "XWANG"), and remove or replace
the personal email entry (the "email" key at the other occurrence) with a
generic placeholder or leave it unset; update the keys in _config.yml where
title, author, and email/contact are defined so the repo no longer contains
personal branding or contact information.

In `@_posts/2020-02-28-sample-markdown.md`:
- Around line 1-8: Remove the IDE-generated HTML comment metadata block at the
top of the markdown post (the <!-- ... --> block containing `@Author`, `@Date`,
`@LastEditors`, `@LastEditTime`, `@FilePath`, `@Description`) so these local editor
fields are not part of the published content; locate the block in
_posts/2020-02-28-sample-markdown.md (the leading comment spanning lines 1–8)
and delete it, or alternatively move only the necessary values into proper
front-matter if any should be preserved.
- Around line 89-91: The text mentions an image that no longer exists ("the
following local image will be broken" and "If the above image is broken"),
making the instructions inconsistent; either re-add the example image (with a
clear filename and alt text referenced in this section) or remove/rewritten
those two sentences to refer to a conceptual example instead (e.g., change "the
following local image will be broken" and "If the above image is broken" to a
single sentence explaining that project sites break root-relative local file
links and refer readers to the FAQ). Locate these exact phrases in
_posts/2020-02-28-sample-markdown.md and apply the chosen fix so the text no
longer references a missing image.

In `@index.html`:
- Line 3: The browser title is being combined because title-on-all-pages is
enabled; either make the local page title ("suheの个人站" in the HTML) match the
global site.title in _config.yml or set title-on-all-pages to false to prevent
concatenation—update the page title string or update the title-on-all-pages
setting in _config.yml (or align site.title) so the final <title> shows the
intended branding.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 1dc797c4-c92a-4bac-a0d4-4270af9b824a

📥 Commits

Reviewing files that changed from the base of the PR and between 476d4a4 and d0d77a0.

⛔ Files ignored due to path filters (1)
  • assets/img/avatar-icon.png is excluded by !**/*.png
📒 Files selected for processing (4)
  • _config.yml
  • _posts/2020-02-28-sample-markdown.md
  • aboutme.md
  • index.html

Comment thread _config.yml
Comment on lines +13 to +16
title: SUHE's website

# Your name to show in the footer
author: Some Person
author: XWANG
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Revert personal identity/PII from the upstream template config.

Line 13, Line 16, and Line 53 replace neutral template defaults with personal branding and a personal email. In this repository, that turns shared starter config into user-specific data and exposes personal contact info publicly.

Suggested fix
-title: SUHE's website
+title: "Your website title"

-author: XWANG
+author: "Your Name"

 social-network-links:
-  email: "csu_xwang@163.com"
+  email: "you@example.com"

Also applies to: 53-53

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@_config.yml` around lines 13 - 16, Revert the personal PII added to the site
config by restoring neutral defaults for the title, author, and contact fields:
change the title value back to the template default (instead of "SUHE's
website"), set author back to a neutral placeholder (instead of "XWANG"), and
remove or replace the personal email entry (the "email" key at the other
occurrence) with a generic placeholder or leave it unset; update the keys in
_config.yml where title, author, and email/contact are defined so the repo no
longer contains personal branding or contact information.

Comment on lines +1 to +8
<!--
* @Author: suhe
* @Date: 2026-04-20 19:48:28
* @LastEditors: suhe
* @LastEditTime: 2026-04-20 19:50:59
* @FilePath: \suhe-de.github.io\_posts\2020-02-28-sample-markdown.md
* @Description: ${description}
-->
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Remove editor metadata header from post content.

Line 1–8 adds an IDE-generated metadata block (author, edit time, local file path). This creates unnecessary churn and leaks local environment details into the generated page source.

Suggested fix
-<!--
- * `@Author`: suhe
- * `@Date`: 2026-04-20 19:48:28
- * `@LastEditors`: suhe
- * `@LastEditTime`: 2026-04-20 19:50:59
- * `@FilePath`: \suhe-de.github.io\_posts\2020-02-28-sample-markdown.md
- * `@Description`: ${description}
--->
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
<!--
* @Author: suhe
* @Date: 2026-04-20 19:48:28
* @LastEditors: suhe
* @LastEditTime: 2026-04-20 19:50:59
* @FilePath: \suhe-de.github.io\_posts\2020-02-28-sample-markdown.md
* @Description: ${description}
-->
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@_posts/2020-02-28-sample-markdown.md` around lines 1 - 8, Remove the
IDE-generated HTML comment metadata block at the top of the markdown post (the
<!-- ... --> block containing `@Author`, `@Date`, `@LastEditors`, `@LastEditTime`,
`@FilePath`, `@Description`) so these local editor fields are not part of the
published content; locate the block in _posts/2020-02-28-sample-markdown.md (the
leading comment spanning lines 1–8) and delete it, or alternatively move only
the necessary values into proper front-matter if any should be preserved.

Comment on lines +89 to +91
When hosting a *project site* on GitHub Pages (for example, `https://USERNAME.github.io/MyProject`), URLs that begin with `/` and refer to local files may not work correctly due to how the root URL (`/`) is interpreted by GitHub Pages. You can read more about it in the FAQ. To demonstrate the issue, the following local image will be broken **if your site is a project site:**

![Crepe]({{ '/assets/img/crepe.jpg' | relative_url }})
If the above image is broken, then you'll need to follow the instructions in the FAQ. Here is proof that it can be fixed:
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

The text references an image that is no longer present.

Line 89 (“the following local image will be broken”) and Line 91 (“If the above image is broken”) refer to an image that does not exist in this section anymore, so the instructions are currently inconsistent.

Suggested fix
-When hosting a *project site* on GitHub Pages (for example, `https://USERNAME.github.io/MyProject`), URLs that begin with `/` and refer to local files may not work correctly due to how the root URL (`/`) is interpreted by GitHub Pages. You can read more about it in the FAQ. To demonstrate the issue, the following local image will be broken **if your site is a project site:**
+When hosting a *project site* on GitHub Pages (for example, `https://USERNAME.github.io/MyProject`), URLs that begin with `/` and refer to local files may not work correctly due to how the root URL (`/`) is interpreted by GitHub Pages. You can read more about it in the FAQ.

-If the above image is broken, then you'll need to follow the instructions in the FAQ. Here is proof that it can be fixed:
+If your local asset links are broken, follow the FAQ instructions. Here is proof that it can be fixed:
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
When hosting a *project site* on GitHub Pages (for example, `https://USERNAME.github.io/MyProject`), URLs that begin with `/` and refer to local files may not work correctly due to how the root URL (`/`) is interpreted by GitHub Pages. You can read more about it in the FAQ. To demonstrate the issue, the following local image will be broken **if your site is a project site:**
![Crepe]({{ '/assets/img/crepe.jpg' | relative_url }})
If the above image is broken, then you'll need to follow the instructions in the FAQ. Here is proof that it can be fixed:
When hosting a *project site* on GitHub Pages (for example, `https://USERNAME.github.io/MyProject`), URLs that begin with `/` and refer to local files may not work correctly due to how the root URL (`/`) is interpreted by GitHub Pages. You can read more about it in the FAQ.
If your local asset links are broken, follow the FAQ instructions. Here is proof that it can be fixed:
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@_posts/2020-02-28-sample-markdown.md` around lines 89 - 91, The text mentions
an image that no longer exists ("the following local image will be broken" and
"If the above image is broken"), making the instructions inconsistent; either
re-add the example image (with a clear filename and alt text referenced in this
section) or remove/rewritten those two sentences to refer to a conceptual
example instead (e.g., change "the following local image will be broken" and "If
the above image is broken" to a single sentence explaining that project sites
break root-relative local file links and refer readers to the FAQ). Locate these
exact phrases in _posts/2020-02-28-sample-markdown.md and apply the chosen fix
so the text no longer references a missing image.

Comment thread index.html
layout: home
title: My website
subtitle: This is where I will tell my friends way too much about me
title: suheの个人站
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Page title now produces mixed branding in browser <title>.

With title-on-all-pages: true, Line 3 (suheの个人站) will be combined with site.title from _config.yml, resulting in a mixed title format (suheの个人站 | SUHE's website). Align both values (or disable title-on-all-pages) if this is unintended.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@index.html` at line 3, The browser title is being combined because
title-on-all-pages is enabled; either make the local page title ("suheの个人站" in
the HTML) match the global site.title in _config.yml or set title-on-all-pages
to false to prevent concatenation—update the page title string or update the
title-on-all-pages setting in _config.yml (or align site.title) so the final
<title> shows the intended branding.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request personalizes the site configuration, "About Me" page, and a sample blog post. A technical issue was identified in the blog post where a comment block placed before the YAML front matter will break Jekyll's metadata parsing. Furthermore, several text passages in the post still reference links and images that were deleted, leading to inconsistent content that needs to be updated or removed.

Comment on lines +1 to +8
<!--
* @Author: suhe
* @Date: 2026-04-20 19:48:28
* @LastEditors: suhe
* @LastEditTime: 2026-04-20 19:50:59
* @FilePath: \suhe-de.github.io\_posts\2020-02-28-sample-markdown.md
* @Description: ${description}
-->
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

In Jekyll, the YAML front matter (the block starting with ---) must be the very first content in the file. Placing comments before it can prevent Jekyll from correctly identifying the file as a post and parsing its metadata.


{: .box-success}
This is a demo post to show you how to write blog posts with markdown. I strongly encourage you to [take 5 minutes to learn how to write in markdown](https://markdowntutorial.com/) - it'll teach you how to transform regular text into bold/italics/tables/etc.<br/>I also encourage you to look at the [code that created this post](https://raw.githubusercontent.com/daattali/beautiful-jekyll/master/_posts/2020-02-28-sample-markdown.md) to learn some more advanced tips about using markdown in Beautiful Jekyll.
This is a demo post to show you how to write blog posts with markdown. I strongly encourage you to take 5 minutes to learn how to write in markdown - it'll teach you how to transform regular text into bold/italics/tables/etc.<br/>I also encourage you to look at the code that created this post to learn some more advanced tips about using markdown in Beautiful Jekyll.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

This line contains references to a markdown tutorial and the post's source code, but the links themselves have been removed. This makes the text confusing for readers as the instructions are no longer actionable.

Suggested change
This is a demo post to show you how to write blog posts with markdown. I strongly encourage you to take 5 minutes to learn how to write in markdown - it'll teach you how to transform regular text into bold/italics/tables/etc.<br/>I also encourage you to look at the code that created this post to learn some more advanced tips about using markdown in Beautiful Jekyll.
This is a demo post to show you how to write blog posts with markdown. Markdown allows you to transform regular text into bold, italics, tables, and more.

You can use MathJax to write LaTeX expressions. For example:
When \\(a \ne 0\\), there are two solutions to \\(ax^2 + bx + c = 0\\) and they are $$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$

How about a yummy crepe?
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

This sentence refers to images of crepes that were removed in this commit. It should be removed to maintain content consistency.

![Crepe](/assets/img/crepe.jpg)

If the above image is broken, then you'll need to follow the instructions [in the FAQ](https://beautifuljekyll.com/faq/#links-in-project-page). Here is proof that it can be fixed:
When hosting a *project site* on GitHub Pages (for example, `https://USERNAME.github.io/MyProject`), URLs that begin with `/` and refer to local files may not work correctly due to how the root URL (`/`) is interpreted by GitHub Pages. You can read more about it in the FAQ. To demonstrate the issue, the following local image will be broken **if your site is a project site:**
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

This sentence refers to a demonstration image that has been removed from the post. It should be updated to reflect the current content.

Suggested change
When hosting a *project site* on GitHub Pages (for example, `https://USERNAME.github.io/MyProject`), URLs that begin with `/` and refer to local files may not work correctly due to how the root URL (`/`) is interpreted by GitHub Pages. You can read more about it in the FAQ. To demonstrate the issue, the following local image will be broken **if your site is a project site:**
When hosting a *project site* on GitHub Pages (for example, https://USERNAME.github.io/MyProject), URLs that begin with / and refer to local files may not work correctly due to how the root URL (/) is interpreted by GitHub Pages. You can read more about it in the FAQ.

When hosting a *project site* on GitHub Pages (for example, `https://USERNAME.github.io/MyProject`), URLs that begin with `/` and refer to local files may not work correctly due to how the root URL (`/`) is interpreted by GitHub Pages. You can read more about it in the FAQ. To demonstrate the issue, the following local image will be broken **if your site is a project site:**

![Crepe]({{ '/assets/img/crepe.jpg' | relative_url }})
If the above image is broken, then you'll need to follow the instructions in the FAQ. Here is proof that it can be fixed:
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

This line refers to 'proof' that a local URL issue can be fixed, but the demonstration image was removed. The text should be updated to a general reference to the FAQ.

Suggested change
If the above image is broken, then you'll need to follow the instructions in the FAQ. Here is proof that it can be fixed:
If you encounter issues with local links, you'll need to follow the instructions in the FAQ.

@suhe-de suhe-de marked this pull request as draft April 20, 2026 12:28
Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

♻️ Duplicate comments (1)
_config.yml (1)

13-16: ⚠️ Potential issue | 🟠 Major

Revert personal branding/contact details and restore neutral template defaults.

Line 13, Line 16, Line 49, and Line 85 introduce personal identity/PII and user-specific content into the upstream starter config; Line 51–Line 56 also disables the template’s default social examples. This repo should keep neutral, reusable defaults.

Suggested revert
-title: SUHE's website
+title: My website

-author: XWANG
+author: Some Person

 social-network-links:
-  email: "csu_xwang@163.com"
+  email: "you@example.com"
   rss: true
-  # facebook: deanattali
-  # github: daattali
-  # twitter: daattali
-  # patreon: DeanAttali
-  # youtube: "@daattali"
-  # whatsapp: 15551212
+  facebook: deanattali
+  github: daattali
+  twitter: daattali
+  patreon: DeanAttali
+  youtube: "@daattali"
+  whatsapp: 15551212

-rss-description: 日常记录
+rss-description: This website is a virtual proof that I'm awesome

Also applies to: 49-56, 85-85

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@_config.yml` around lines 13 - 16, Revert personal branding by restoring
neutral defaults in the YAML keys: replace the customized title and author
values (the title and author fields) with the upstream template placeholders
(e.g., a generic site title and "Your Name"), and re-enable or restore the
original social/contact examples and template defaults that were removed (the
social/email/description sections and any disabled example entries) so the
config remains a reusable starter template; update the title, author, and
social-related keys to match the original neutral defaults.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Duplicate comments:
In `@_config.yml`:
- Around line 13-16: Revert personal branding by restoring neutral defaults in
the YAML keys: replace the customized title and author values (the title and
author fields) with the upstream template placeholders (e.g., a generic site
title and "Your Name"), and re-enable or restore the original social/contact
examples and template defaults that were removed (the social/email/description
sections and any disabled example entries) so the config remains a reusable
starter template; update the title, author, and social-related keys to match the
original neutral defaults.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: a54883ee-b083-4e76-809b-52e5803b63b1

📥 Commits

Reviewing files that changed from the base of the PR and between d0d77a0 and 7353beb.

📒 Files selected for processing (1)
  • _config.yml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant