Merge branch 'feature/canonical' into gh-pages
* feature/canonical: Remove html from links Fix links to not use .html Use no .html
This commit is contained in:
commit
3585dd6533
|
@ -36,8 +36,8 @@
|
||||||
|
|
||||||
{%comment%}<!-- canonical URL -->{%endcomment%}
|
{%comment%}<!-- canonical URL -->{%endcomment%}
|
||||||
{% if page.url != '/index.html' %}
|
{% if page.url != '/index.html' %}
|
||||||
<link rel="canonical" href="{{ site.url }}{{ page.url }}">
|
<link rel="canonical" href="{{ site.url }}{{ page.url | remove: '.html' }}">
|
||||||
<meta name="og:url" content="{{ site.url }}{{ page.url }}">
|
<meta name="og:url" content="{{ site.url }}{{ page.url | remove: '.html' }}">
|
||||||
<link rel="prefetch" href="{{ site.url }}">
|
<link rel="prefetch" href="{{ site.url }}">
|
||||||
<link rel="prerender" href="{{ site.url }}">
|
<link rel="prerender" href="{{ site.url }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
@ -11,7 +11,7 @@ html_class: home
|
||||||
<div class='pages-list'>
|
<div class='pages-list'>
|
||||||
{% for page in site.pages %}
|
{% for page in site.pages %}
|
||||||
{% if page.category == category %}
|
{% if page.category == category %}
|
||||||
<a href="{{base}}{{ page.url }}">
|
<a href="{{base}}{{ page.url | remove: '.html' }}">
|
||||||
<span class='title'>{{ page.title }}</span>
|
<span class='title'>{{ page.title }}</span>
|
||||||
<span class='date'>{{ page.url | remove: '.html' | remove: '/' }}</span>
|
<span class='date'>{{ page.url | remove: '.html' | remove: '/' }}</span>
|
||||||
</a>
|
</a>
|
||||||
|
|
2
react.md
2
react.md
|
@ -484,7 +484,7 @@ Also see
|
||||||
{: .-one-column}
|
{: .-one-column}
|
||||||
|
|
||||||
* This reference was made for React v15.
|
* This reference was made for React v15.
|
||||||
* [React v0.14 cheatsheet](react@0.14.html) _Legacy version_
|
* [React v0.14 cheatsheet](react@0.14) _Legacy version_
|
||||||
* [React website](http://facebook.github.io/react) _facebook.github.io_
|
* [React website](http://facebook.github.io/react) _facebook.github.io_
|
||||||
{:.-also-see}
|
{:.-also-see}
|
||||||
|
|
||||||
|
|
12
vim.md
12
vim.md
|
@ -264,12 +264,12 @@ Also see
|
||||||
--------
|
--------
|
||||||
{: .-one-column}
|
{: .-one-column}
|
||||||
|
|
||||||
* [Digraphs](vim-digraphs.html)
|
* [Digraphs](vim-digraphs)
|
||||||
* [Help text](vim-help.html)
|
* [Help text](vim-help)
|
||||||
* [Vimscript](vimscript.html)
|
* [Vimscript](vimscript)
|
||||||
* [Vim-unite](vim-unite.html)
|
* [Vim-unite](vim-unite)
|
||||||
* [Vim-easyalign](vim-easyalign.html)
|
* [Vim-easyalign](vim-easyalign)
|
||||||
* [Vim-rails](vim-rails.html)
|
* [Vim-rails](vim-rails)
|
||||||
{: .-also-see}
|
{: .-also-see}
|
||||||
|
|
||||||
This reference was made for Vim 8.0.
|
This reference was made for Vim 8.0.
|
||||||
|
|
Loading…
Reference in New Issue