Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jdsimcoe committed Jul 11, 2012
1 parent ab11272 commit ce2ab18
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions www/httpdocs/workspace/themes/active/xsl/template.xsl
Expand Up @@ -12,13 +12,9 @@
<xsl:template name="template-head">
<link rel="canonical" href="{$current-url}" />
<xsl:choose>
<xsl:when test="number($pt1) and $pt1 = 20">
<link rel="shorturl" href="http://accf.co/events/{$pt3}" />
<link rel="shortlink" href="http://accf.co/events/{$pt3}" />
</xsl:when>
<xsl:when test="number($pt1) and $pt1 = 21">
<link rel="shorturl" href="http://accf.co/teachings/{$pt3}" />
<link rel="shortlink" href="http://accf.co/teachings/{$pt3}" />
<xsl:when test="number($pt1) and $pt1 = 20 or number($pt1) and $pt1 = 21">
<link rel="shorturl" href="http://accf.co/{$pt3}" />
<link rel="shortlink" href="http://accf.co/{$pt3}" />
</xsl:when>
<xsl:otherwise>
<link rel="shorturl" href="http://accf.co/{$pt1}" />
Expand Down

0 comments on commit ce2ab18

Please sign in to comment.