Comments (9)
Hi man. Can you show me the source code of your page. I fixed some problems with relative: true
but there is still some bugs that come from Hexo (3.1.1). So I recommend to use relative_link
to false
. Currently, all links are relative even with relative
to false
.
from hexo-theme-tranquilpeak.
Hello Louis, there's nothing special in my code. To simulate this problem simply just download the latest version of tranquilpeak (1.1.1) and then set relative_link to true.
But did a test with the default theme (landscape) and resulted in the same problem. Thus, I am using relative_link = false.
It might be interesting you say something about the user documentation.
from hexo-theme-tranquilpeak.
Hi Patrick. Yeah I fixed this in this commit.
It works perfectly except you enter the blog url withouth the end /
like this : http://localhost:4000/tranquilpeak-hexo-theme
. In this case, all assets are not loaded. Other case, the root relative link is not correctly displayed, there is always a /
in addition : ../..//
. These bugs come from Hexo. That why I still recommand to use relative
to false
. In the new version, I will add a section in user documentation to inform users about this issue.
I will release a new version of the theme soon :) (in two days I think). Thanks you for your feedback. :)
from hexo-theme-tranquilpeak.
I just found a solution to fix the second problem.
from hexo-theme-tranquilpeak.
I had an issue on Hexo : #1381
from hexo-theme-tranquilpeak.
Thank you Louis, I'm using relative_link=false as you recommends.
from hexo-theme-tranquilpeak.
Hi, Louis.
This is a really fantastic theme!!
I have the same problem as Patrick's.
I fixed the problem by just setting relative_link: false
in _config.yml
of Hexo.
But the official user document still says,
You have to set relative_link to true otherwise features like navigation bar will not work correctly.
So, I think the document also needs to be modified.
Thank you for the great theme. ^^
from hexo-theme-tranquilpeak.
Yeah, this is what I said 4 comments above :p. Thanks you man :)
from hexo-theme-tranquilpeak.
Tranquilpeak 1.2.0 is here. In user documentation, it's recommended to use Hexo 3.0.x and still disable relative links be cause issue #1381 is still not resolved. Hexo 3.1.x have more critical problem to generate relative links. An issue is open to fix this #1401.
from hexo-theme-tranquilpeak.
Related Issues (20)
- Showing post folder instead of posts HOT 1
- posts folder appear instead of the posts HOT 1
- algoliasearch.js not exists HOT 2
- Tag to embed Google Slides HOT 1
- Npm install Error - install issue HOT 4
- Dependency Dashboard
- Action Required: Fix Renovate Configuration
- Use relative path for thumbnail image url HOT 4
- How would I go on about implementing a dark mode HOT 2
- Modify inline code color in `_base.scss` not working HOT 4
- Ease-in animation of sidebar is not quite like hugo-version tranquilpeak HOT 4
- Disqus not work HOT 3
- Add horizontal scroll bar for overflow table HOT 3
- even i read document of configuration, still there are few questions that i do not know how fix HOT 1
- how keep one of page at top of index page HOT 2
- Floating Table of Contents (side) HOT 2
- Disable image absolute URLs on the index page HOT 2
- Why use randToken when generating style.min.css file?
- can not deploy on github
- navigator in the long post page HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hexo-theme-tranquilpeak.