Coder Social home page Coder Social logo

Comments (4)

joway avatar joway commented on September 18, 2024

Hi, Siyang,

The yinyang theme does not hard code the RSS link, so I don't know why you need to rename the index.xml.

My old blog system use atom.xml as the RSS link, so I have to compatible with it ......

from hugo-theme-yinyang.

Zhang-Siyang avatar Zhang-Siyang commented on September 18, 2024

Got it, yesterday I check the git log of your work, i found 52fa41d.

But I still have a question, if someone use the exampleSite to quick-look your theme, I think the Subscribe will not work. Because Hugo would not generate rss file in /atom.xml, actually, is /index.xml

It will seem that your theme have some problem.


Chinese version:
为防俺英文没说清,用中文重述一遍:

我昨天心血来潮查看您是如何开发yinyang的,发现新近在页脚添加了RSS链接,应该是给那些不习惯从HTML源码寻找RSS地址的人用的吧。

Hugo默认生成的RSS文件存放在/index.xml,我猜测您的网站也是手动将index.xml重命名为atom.xml吧?新手未加注意就使用了您提供的exampleSite会发现,怎么访问不了atom.xml呢?他们可能不会察觉public目录下没有atom.xml。

所以我个人看来将Subscribe对应的链接设置为/index.xml比较好,嗯……怎么说才比较委婉呢,把工作和个人分开吧。

from hugo-theme-yinyang.

joway avatar joway commented on September 18, 2024

oh, it should be a mistake, thanks! I have replaced the rss link, 3821c9a

from hugo-theme-yinyang.

Zhang-Siyang avatar Zhang-Siyang commented on September 18, 2024

How to say it? Pleasant cooperation?😘

from hugo-theme-yinyang.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.