infra-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Johnson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (INFRA-14690) tag cloud on blogs.a.o points to invalid URL
Date Sun, 21 Oct 2018 17:36:01 GMT

    [ https://issues.apache.org/jira/browse/INFRA-14690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16658307#comment-16658307
] 

David Johnson commented on INFRA-14690:
---------------------------------------

Lookig at the code in Git I see that you have a tagsIndex.vm file in each of the ASF themes,
but the file is not referenced in the theme's config file. You need to add this to each theme's
theme.xml:

    <template action="tagsIndex">
        <name>TagsIndex</name>
        <description>Tag index page</description>
        <navbar>false</navbar>
        <hidden>true</hidden>
        <contentType>text/html</contentType>
        <rendition>
            <templateLanguage>velocity</templateLanguage>
            <contentsFile>tagsIndex.vm</contentsFile>
        </rendition>
    </template>

I tried this locally and it worked for me. The change will not effect the ASF front-page blog,
because it uses a custom theme and therefore has its templates in the database.

The change will fix the ASF project theme, but you will have to do a restart of Roller to
apply it.



> tag cloud on blogs.a.o points to invalid URL
> --------------------------------------------
>
>                 Key: INFRA-14690
>                 URL: https://issues.apache.org/jira/browse/INFRA-14690
>             Project: Infrastructure
>          Issue Type: Planned Work
>          Components: Blogs
>            Reporter: Mark Struberg
>            Assignee: Gavin
>            Priority: Major
>
> https://blogs.apache.org/ contains a tag cloud under 'Popular blog tags'.
> Those link to something like
> https://blogs.apache.org/planet/tags/foundation
> which is wrong. 
> The correct link seems to be https://blogs.apache.org/foundation 
> Someone should remove the superfluous "planet/tags/" in the URL.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message