Comments (4)
我自己 Markdown 里面试了下,我是这么写的:
```bash wget https://github.com/laozhu/hugo-nuo/archive/master.zip ```
并没有出现链接,如下:
from hugo-nuo.
刚才又尝试了几次,找到了重现的规律。
首先生成的 HTML 源码中没有被转换为链接,我在本地 hugo server 调试时,直接用 ip 或者 localhost 访问(如 http://localhost:1313/post/sth/ )的时候,也没有这个问题;
但是一但通过域名访问(包括解析到本地的域名,例如 http://127.0.0.1.xip.io:1313/post/sth/ ),网页加载完毕以后,就会自动转换成链接。
不知道是模版或者 Hugo 本身的问题,还是是 Hugo 的特性。
from hugo-nuo.
我还真没遇到这种情况,或者你可以把复现的步骤写详细些,我跟着步骤复现一下。
from hugo-nuo.
部署到服务器/静态空间以后,通过域名访问就会遇到了;
也可以在本地重现,步骤如上一条评论:
运行 hugo server 以后用域名打开本地文章页面(用上述提到的域名 127.0.0.1.xip.io 即可,该域名是解析到 127.0.0.1 的),等页面加载完毕后,页面中此类 URL 就会突然变成链接。
————————————
我刚才留意到,你的博客里没有出现这种问题,所以我想可能是 hugo 0.32.2 的问题。
from hugo-nuo.
Related Issues (20)
- Align title flush with top-of-page on mobile
- Please make logo rotation optional HOT 1
- Consider clicking logo or title mean "go back to home page" HOT 1
- Changing theme to hugo-nuo unable to deploy on Netlify. HOT 2
- Can you add a search function in your hugo theme
- Page's .Hugo is deprecated. Use the global hugo function HOT 1
- [version]this feature is not available in your current Hugo version HOT 2
- [feature] Custom home layout
- change code snippet highlight theme
- the tweet shortcode cann't work HOT 2
- chrome plugin install? HOT 2
- 主页显示一个叫做Posts的连接,而不是文章列表 HOT 9
- social communication parameter modify request
- summary post problems HOT 1
- server start failed
- grey-prism.svg can't show
- 无法设置微信头像 HOT 1
- 代码块无法渲染 HOT 2
- 不知名故障 HOT 1
- Updating old Google Analytics tag (analytics.js) to the latest tag (gtag.js)
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 hugo-nuo.