Closed caijun closed 7 years ago
Hey Sorry for the delay. I have not had time to check GH recently. Let me check it and get back to you. Hopefully I can find a fix over the weekend.
Are you using it on *nix compatible system? The sample file was created on Windows which adds 0x0D 0x0A
at the end of each file. 0x09
is the ASCIIHEX of tab which is the
I cannot reproduce this on Windows but try copy/pasting the text inside the file (or grab it from the Github web interface) to a new empty file in an editor on your OS which will hopefully fix the compatibility issue.
Yes, I am using Mac OS. I will try your suggestion and report the result. Thank you very much.
Hi @parsiya , I tried your solution, but it couldn't fix the problem and the same error is produced. I commented the sidebarText
param, and it successfully produced the website. This additional info may help you to diagnose the problem.
#sidebarText = """Sidebar text is passed to *markdownify* so it supports markdown. Here's a [link to google](https://www.google.com)
#</br>
#Second line
#</br>
#Third line
#"""
Unfortunately I do not have a Mac to reproduce this. I just tried it on Debian distro and it worked.
At this point you can try two things:
I fixed this by replacing all TAB characters with spaces in config.toml.
Great. I will try your solution.
@plopix2 I fixed the problem by your solution. Thanks.
I have converted all tabs to spaces in the sample-config now. Hopefully this will prevent problems in the future.
Thank you for developing this hugo theme.
I used the
sample-config.toml
to configure my hugo website, and then ranhugo server --watch
, but following error was produced.The error seems like from the Sidebar text param. How to fix this problem?