Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Add link hreflang #16

Merged
merged 4 commits into from Feb 11, 2013

Conversation

Projects
None yet
2 participants
Contributor

mlocati commented Nov 9, 2012

This commit adds the possibility to add the

<link rel="alternate" hreflang=".." href=".." />

tags to the pages to signal search engines the versions of a page in
other languages. This is enabled by defining
MULTILINGUAL_ADD_ALTERNATE_HREFLANG to true.

mlocati added some commits Nov 8, 2012

@mlocati mlocati Add a block template with flags and pretty url
This pull request adds a new template called `seo_flags`, similar to
the `flags` template, except that:
- the url of the flags are the final url of the translated pages
- the `ccm-multilingual-switch-language-flags-label` is printed out
  only if the $label is not empty.

This pull requests also introduces a new `InterfacePageHelper` helper
that's able to resolve the translated page of the current page taking
in account page aliases (of the current page and/or of the translated
pages).
8db36b5
@mlocati mlocati Minor change 594e99c
@mlocati mlocati Add link rel="alternate" hreflang=".." href=".."
This commit adds the possibility to add the
```html
<link rel="alternate" hreflang=".." href=".." />`
tags to the pages to signal search engines the alternate versions of a
page. This is enabled by defining MULTILINGUAL_ADD_ALTERNATE_HREFLANG
to true.
d7ff507
@mlocati mlocati Removed files from other pull request e0be722

@tylerryan tylerryan added a commit that referenced this pull request Feb 11, 2013

@tylerryan tylerryan Merge pull request #16 from mlocati/add-link-hreflang
Add link hreflang
16fb433

@tylerryan tylerryan merged commit 16fb433 into concrete5:master Feb 11, 2013

@mlocati mlocati referenced this pull request Feb 12, 2013

Merged

Add seo flags #18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment