gohugoio / hugo

The world’s fastest framework for building websites.
https://gohugo.io
Apache License 2.0
75.64k stars 7.52k forks source link

can other methods be used to beautify the URLs? #13002

Closed lopins closed 4 hours ago

lopins commented 5 hours ago

When there are a large number of tags, if the categories or tags are not in English or are not numbers, can other methods be used to beautify the URLs?

<li>
  #<a href="http://localhost:1313/tags/%E4%BA%8C%E6%89%8B%E5%8A%9E%E5%85%AC%E5%AE%B6%E5%85%B7.html" title="二手办公家具">二手办公家具</a>&nbsp;
  #<a href="http://localhost:1313/tags/%E4%BA%8C%E6%89%8B%E5%8A%9E%E5%85%AC%E6%A1%8C%E6%A4%85.html" title="二手办公桌椅">二手办公桌椅</a>&nbsp;
  #<a href="http://localhost:1313/tags/%E4%BA%8C%E6%89%8B%E5%8A%9E%E5%85%AC%E6%A1%8C%E6%A4%85.html" title="二手办公桌椅">二手办公桌椅</a>&nbsp;
  #<a href="http://localhost:1313/tags/%E5%91%98%E5%B7%A5%E5%8A%9E%E5%85%AC%E6%A1%8C.html" title="员工办公桌">员工办公桌</a>&nbsp;
</li>
bep commented 4 hours ago

Please use https://discourse.gohugo.io/ for questions/troubleshooting. Also see Hugo Documentation.