MATH #716
Replies: 3 comments 1 reply
-
Hi @gavox, I moved your issue to the Discussion forum, as it's more about how to use Hugo and/or the theme and not a bug in the theme. First of all: If you have "local changes" to any theme, you do that in your root project folder. If the theme has a file After you did that try uploading your site to the webserver and see if the changes take place. If not, please get back here and include a link to your repository so we can debug this issue. We will most probably not being adding new features in the near future, so overriding the theme files with your changes is the way to go. |
Beta Was this translation helpful? Give feedback.
-
Hello, @davidsneighbour The issue is as follows. I am using a hosting site called sourcehut to host my website. The address is: git.sr.ht. The thing is, I use git as a version control of my website. Now, the way hugo is configured, it takes the version of ananke out of your repo, not on my local files. So, when I make local changes they get added to my local branch of ananke, and therefore when I try to compile it from the werver it does not go through. does it make sense? This is a copy of the log:
Here There is another way to compile the website, that is use hugo locally and upload the website to the server. That is what I am doing now. This "works", but the changes I make to the module are not really backed up anywhere. So not optimal. That is why I proposed the changes to the module. I urge you to consider them. First is to add the file
The second is to add the following code:
to the file I understand this may not be possible, and maybe the code is frozen, but that's the proposal. tx. |
Beta Was this translation helpful? Give feedback.
-
I developed a hook system that allows users/developers to define locations in the templates where they can "hook" their layout files. Your plans would be perfect to test this out. It will take some time though to get to it. I still think we are not at the same level in regards to "overriding modules". Your website is in a Git repository and in THAT repository you can have a Example: You have a change to Add me to your repo if it is not public and I'll send a PR that examples that. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the good work!
I would like to use the layout for my webpage. I do need to use some math. It is possible to have it on HUGO,
https://gohugo.io/content-management/mathematics/
To use with ananke, I would need two changes:
Including a file math.html in layouts/partials/math.html (step2 of that webpage)
And also modifiying layouts/_default/baseof.html (step 3 of that webpage).
Could you please include those changes in ananke?
(I have included them in my local version, and it compiles, but when I try to upload it to the webserver it downloads ananke from github and my changes are lost, so my webpage does not render math)
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions