-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Post names cyrillic to translit #315
Comments
@RomanBogachev This is done inside the Hexo engine. You may want to take a look at this: https://hexo.io/docs/permalinks.html |
@ppoffice It doesnt work.
Go to site and nothing happens. Text doesn't translit from russian. I want to see https://example.com/2018/04/12/tekst_na_russkom_yazike It is need me for SEO. |
@RomanBogachev How about you create posts using translit? Hexo does not have the ability to translate cyrillic to translit, and it uses the filename to generate the slug. |
@ppoffice If I will create messages in translit, then the title will also be in translit. The task is to have the title in russian, but in the link to the transliteration. A long time ago this decision was implemented on the Octopress. |
@ppoffice Here are related queries |
@RomanBogachev You can still use Russian title if you set it in the front-matter. title: ТЕКСТ НА РУССКОМ ЯЗЫКЕ |
@ppoffice =) I need |
@RomanBogachev Try to create a file named |
@ppoffice This is a way out. But I would like to automate this process. |
@RomanBogachev npm install hexo-unique-post-path
hexo new "Заголовок на русском" --type=latin
=> INFO Created: ... /source/_posts/zagolovok-na-russkom.md With configuration: #_cofig.yml
+ unique_post_path:
+ type: latin
+ auto: true hexo new "Заголовок на русском"
=> INFO Created: ... /source/_posts/zagolovok-na-russkom.md
hexo new "ТЕКСТ_НА_РУССКОМ_ЯЗЫКЕ"
=> INFO Created: ... /source/_posts/tekst_na_russkom_yazyke.md More usage: dailyrandomphoto/hexo-unique-post-path#14 |
Hi,
How I can make translate cyrillic text of my post name to translate?
e.g.
mydomain.com/%D0%9A%D0%B0%D0%BA-%D0%B8%D0%B7%D0%BC%D0%B5%D1%80%D0%B8%D1%82%D1%8C-IOPS/
to mydomain.com/kak-izmerit-IOPS/
I found converter https://github.com/greybax/cyrillic-to-translit-js
The text was updated successfully, but these errors were encountered: