Open cschwem2er opened 7 years ago
Hi @methodds
Thank for your interest. I will not give you the final answer today because I have to check more thing but:
About npm run prod
did you install pre-req https://github.com/kakawait/hugo-tranquilpeak-theme/blob/31c71da9f5b37972ea649d7ae1b54c82e0d353e4/docs/developer.md#requirements? And do you have more log?
You're true instruction is not correct because is bad about Hexo theme and not Hugo theme.
I will help you more soon, because I've to tried by myself first :)
Many thanks for helping me out :) I did install both hugo and grunt CLI before. But to be honest, given how few knowledge I have about this, it is very likely that I made a mistake in the step of adjusting the files beforehand.
I think when #242 will be fixed it will be more easy to overwrite HLjs theme
related to #320
Configuration
Hi,
first of all many thanks for creating this awesome theme. I want to use it for a coding blog but have no experience with
.scss
files yet and unfortunately can't get your instructions to work for custom syntax highlighting. These are the instructions:I tried to use the monokai theme (see code below) and noticed two issues:
npm run prod
threw an error:npm ERR! hugo-tranquilpeak-theme@0.4.1-BETA prod:
grunt buildProdnpm ERR! Exit status 99
'themes/tranquilpeak',
) ofsource/_css/tranquilpeak.scss
file". First, this file does not exist for me, I only findtranquilpeak.scss
src/scss/
. Second, line 61 is an empty line in that file, so I guess you're talking about the last lines in that file unter the last@import
statement.Could you please show or provide access to the two corrected files,
tranquilpeak.scss
and build theme for my.css
code below as an example? This might also be helpful for other people.