Junyi-99 / hugo-theme-anubis2

Anubis2 is a simple but elegant theme for Hugo blog engine
https://hugo-theme-anubis2.netlify.app/
MIT License
32 stars 9 forks source link

index home page don't have footer #40

Closed ChenYin626 closed 2 months ago

ChenYin626 commented 2 months ago

I am a hugo newbie.I use your anubis2 exampleSiteMultilingual. I want to add icp and police message .But in the home page don't have footer. I saw your website https://www.junyi.dev/ have it.So,can you tell me how to fix or provide a simple configraution method in the config.yaml ?

Junyi-99 commented 2 months ago

Hi Chenyin,

There is neither support for the customized footer nor the icp.

However, it's a great suggestion to add these two support for Anubis2.

Junyi-99 commented 2 months ago

Now anubis supports ICP beian, please update to the latest version.

git submodule update --remote

The configuration is simple, just add icp inside [params] section. https://github.com/Junyi-99/hugo-theme-anubis2/blob/3310c840fda576342e850b6fa6e24208e89a63d8/exampleSiteMultilingual/hugo.toml#L20

ChenYin626 commented 2 months ago

hello,junyi,thank you for your code.I have updated my code,and running in my windows computer.But it still have bug in the footer. You can run your exampleSiteMultilingual.In the home page,doesn't have a footer There are some pictures to show the bug. 53e909ce67fa47c81130d30388931098 but in other pages you can see the footer. 35a15d5cee52a61d539b9f650ab50d4e I don't know how to fix it,and in your website it is fine.Please help me.

Junyi-99 commented 2 months ago

I see, it's not a bug of Anubis but a bug of hugo. https://github.com/gohugoio/hugo/issues/12426#issue-2261951079

You should try to remove all demo-summary-rendering-*.md files and demo-multiline-codes.md, and it will back to normal.

ChenYin626 commented 2 months ago

I remove that files.It is work.Thank you.

Junyi-99 commented 2 months ago

ur welcome