Skip to content

Commit

Permalink
Migrates page redirects | Fixes liferay#617
Browse files Browse the repository at this point in the history
  • Loading branch information
zenorocha committed Feb 22, 2018
1 parent da09e70 commit 9df9d84
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,20 @@
title: "Advanced Examples"
url: "/docs/components/charts/avanced/axis_label.html"
weight: 4
layout: false
---

{namespace pageDocsComponentsChartsAdvancedIndex}

/**
*
*/
{template .render}
{/template}
{@param page: ?}

<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="0; URL='{$page.url}'">
</head>
</html>
{/template}
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,20 @@
title: "Basic Examples"
url: "/docs/components/charts/basic/line_chart.html"
weight: 3
layout: false
---

{namespace pageDocsComponentsChartsBasicIndex}

/**
*
*/
{template .render}
{@param page: ?}

<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="0; URL='{$page.url}'">
</head>
</html>
{/template}
12 changes: 10 additions & 2 deletions packages/claycss.com/src/pages/docs/components/charts/index.soy
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,20 @@
title: "Charts"
url: "/docs/components/charts/basic/line_chart.html"
weight: 300
layout: false
---

{namespace pageDocsComponentsChartsIndex}

/**
*
*/
{template .render}
{/template}
{@param page: ?}

<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="0; URL='{$page.url}'">
</head>
</html>
{/template}
12 changes: 10 additions & 2 deletions packages/claycss.com/src/pages/docs/components/index.soy
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,20 @@
title: "Components Library"
url: "/docs/components/alerts.html"
weight: 2
layout: false
---

{namespace pageDocsComponentsIndex}

/**
*
*/
{template .render}
{/template}
{@param page: ?}

<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="0; URL='{$page.url}'">
</head>
</html>
{/template}
22 changes: 8 additions & 14 deletions packages/claycss.com/src/pages/docs/index.soy
Original file line number Diff line number Diff line change
@@ -1,26 +1,20 @@
---
title: "Docs"
url: "/docs/components/alerts.html"
layout: false
---

{namespace pageDocsIndex}

/**
*
*/
{template .render}
{/template}

/**
*/
{template .soyweb}
{@param page: ?}
{@param page: ?}

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="0; URL='{$page.url}'">
</head>
</html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="0; URL='{$page.url}'">
</head>
</html>
{/template}

0 comments on commit 9df9d84

Please sign in to comment.