Skip to content

JediObi/oldpage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Topic List

/article/topic_list.json

You can add or modify topics in this file.

If you wanna add a new topic, you have to create a new directory and it's name should be same to the topic. Then you can modify introduction and specify icon for the new topic.

Artice List

For example, if you wanna add a new article "This is Shell.md" under topic Shell.

First, modify /article/articles_issues_map.json. Append a new item with article_name and issue_url in the maps under the topic Shell.

The article_name will lead the script find the article and render it.

The issue_url will lead the script find the url of a github issue url and render the content in as a comment list which means you have to create a new issue if you wanna the new article will contain a comment system.

Second, modify /article/Shell/article_list.json, add an item with descriptions of the new article.

{
    "title": "This is Shell",
    "description": "Amazing shell",
    "url": "This is Shell.md",
    "pic_name": "JiqGstEfoWAOHiTxclqi.png",
    "pic_dimen":[],
    "back_title": "",
    "back_description": ""
}

pic_name is the cover picture of the new article, you should put the picture file in the same path as the article.

Ads Config

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •