Closed jahbini closed 8 years ago
Alert tag is a new feature added in version 1.6.0.
Concerning icon problem, could you add your theme configuration file _config.yml
, please
Here is the config file I am currently using _config.yml
I also tried this one which worked with tranquil peak V1.2: config.yml
Both die at the same place during hexo generate
yeah, that's a bug, i'm gonna fix this. It not allowed to comment header.right_link.icon
var. i'm gonna fix this. Give me 20 minutes, to release a patch :)
In fact, what do you wanna to do? why did you comment these lines instead of remove value?
I am not sure I commented out any lines. The last couple of days have ben a flurry of bug finding and syntax blinding opportunities.
It doesn't work because you comment some lines
header:
right_link:
# url:
# icon:
# class:
Default config :
header:
right_link:
url:
icon:
class:
uncomment these lines, and it will work
Each configuration file is unique and you can't use configuration file from Tranquilpeak v1.2.0 with Tranquilpeak v1.6.0
I started with V 1.2.0 which had those items commented out. I did not change them when I moved them from 1.2.0 to 1.5.0 and 1.6.0. (and if you have suggestions for what I should put here, I am your student)
-- this is the original text from that download:
# Header configuration
# The link at the right of the header is customizable
# You can add a link (as an icon) at the right of the header instead of the author's gravatar image or author's picture.
# DON'T edit `header`, `right_link`, `url`, `icon` and `class` variable name
header:
right_link:
# url: /#search
# icon: search
# class: st-search-show-outputs
Use the last configuration file from tranquilpeak 1.6.0, and re-set your property, that's all :)
Yes, I can proceed now. Unfortunate that I started out with 1.2 (I have no idea where that download link came from -- it certainly was not my intention to use an early version -- I just found about tranquipeak 4 or 5 days ago)
Maybe a major version bump if many interface semantics have changed. Yes?
(And yes, this is a fabulous theme you have created: Bravissimo. Ciao for now. )
hum, I know where does the problem came from. Some days ago, i renamed the repository and the demo website was displayed with version 1.2 with link to download 1.2 version, that's why, you downloaded version 1.2. I contacted GitHub 3 days ago to remove the old site. It has been deleted yesterday.
Thank you man :)
I have been having trouble with the image tags described in your theme's docs. I finally realized these extended tags were not in the version I first downloaded (v1.2.0), and downloaded both the
hexo-theme-tranquilpeak-built-for-production-1.5.0
andhexo-theme-tranquilpeak-built-for-production-1.6.0
Then (after adding my info to _config.yml in the tranquilpeak directory), I find that 1.5.0 throws an error when it tries to process an {% alert ... %} tag. Version 1.6.0 throws a completely different error:
Any suggestions are greatly appreciated.