diff --git a/_includes/datetime.html b/_includes/datetime.html index 9f954b698..b07b132aa 100644 --- a/_includes/datetime.html +++ b/_includes/datetime.html @@ -1,6 +1,6 @@ {% assign df_strftime = site.data.locales[include.lang].df.post.strftime | default: '%d/%m/%Y' %} diff --git a/_includes/language-alias.html b/_includes/language-alias.html index abfa7ba92..c2e9adbbf 100644 --- a/_includes/language-alias.html +++ b/_includes/language-alias.html @@ -1,9 +1,7 @@ {% comment %} - Convert the alias of the syntax language to the official name See: - {% endcomment %} {% assign _lang = include.language | default: '' %} @@ -20,13 +18,13 @@ {% when 'coffeescript', 'coffee', 'coffee-script' %} {{ 'CoffeeScript' }} {% when 'cs', 'csharp' %} - {{ 'C#' }} + {{ 'C#' }} {% when 'erl' %} {{ 'Erlang' }} {% when 'graphql' %} - {{ 'GraphQL' }} + {{ 'GraphQL' }} {% when 'haskell', 'hs' %} - {{ 'Haskell' }} + {{ 'Haskell' }} {% when 'javascript', 'js' %} {{ 'JavaScript' }} {% when 'make', 'mf', 'gnumake', 'bsdmake' %} @@ -39,22 +37,22 @@ {{ 'Objective-C' }} {% when 'perl', 'pl' %} {{ 'Perl' }} - {% when 'php','php3','php4','php5' %} + {% when 'php', 'php3', 'php4', 'php5' %} {{ 'PHP' }} {% when 'py' %} {{ 'Python' }} {% when 'rb' %} {{ 'Ruby' }} - {% when 'rs','no_run','ignore','should_panic' %} + {% when 'rs', 'no_run', 'ignore', 'should_panic' %} {{ 'Rust' }} {% when 'bash', 'zsh', 'ksh', 'sh' %} {{ 'Shell' }} {% when 'st', 'squeak' %} {{ 'Smalltalk' }} - {% when 'tex'%} + {% when 'tex' %} {{ 'TeX' }} {% when 'latex' %} - {{ 'LaTex' }} + {{ 'LaTeX' }} {% when 'ts', 'typescript' %} {{ 'TypeScript' }} {% when 'vb', 'visualbasic' %} diff --git a/_includes/media-url.html b/_includes/media-url.html index ea4107502..7ace24a53 100644 --- a/_includes/media-url.html +++ b/_includes/media-url.html @@ -17,7 +17,7 @@ {%- comment -%} Add media resources subpath prefix {%- endcomment -%} {% assign url = include.subpath | default: '' | append: '/' | append: url %} - {%- comment -%} Prepend CND URL {%- endcomment -%} + {%- comment -%} Prepend CDN URL {%- endcomment -%} {% if site.cdn %} {% assign url = site.cdn | append: '/' | append: url %} {% endif %} diff --git a/_includes/post-paginator.html b/_includes/post-paginator.html index c74e978a7..5ccad708d 100644 --- a/_includes/post-paginator.html +++ b/_includes/post-paginator.html @@ -1,4 +1,4 @@ - +