You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Klaus Reimer (JIRA)" <ji...@codehaus.org> on 2012/06/16 16:20:21 UTC
[jira] (DOXIA-472) No page title is set when using markdown
Klaus Reimer created DOXIA-472:
----------------------------------
Summary: No page title is set when using markdown
Key: DOXIA-472
URL: https://jira.codehaus.org/browse/DOXIA-472
Project: Maven Doxia
Issue Type: Bug
Components: Module - Markdown
Affects Versions: 1.3
Reporter: Klaus Reimer
Priority: Minor
No page title is created for pages which are defined with the markup language "markdown". A page in a project named "Test" opened with Chrome for example has the browser title "Test - - Chrome" and the browser tab is labeled with "Test - ".
I recommend using the first headline in the markdown file as a page title.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (DOXIA-472) No page title is set when using markdown
Posted by "Benjamin Piwowarski (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/DOXIA-472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=311476#comment-311476 ]
Benjamin Piwowarski commented on DOXIA-472:
-------------------------------------------
Hi,
this is already possible by using
<head><title>Your title</title></head>
as the first line of your MarkedDown page
> No page title is set when using markdown
> ----------------------------------------
>
> Key: DOXIA-472
> URL: https://jira.codehaus.org/browse/DOXIA-472
> Project: Maven Doxia
> Issue Type: Bug
> Components: Module - Markdown
> Affects Versions: 1.3
> Reporter: Klaus Reimer
> Priority: Minor
>
> No page title is created for pages which are defined with the markup language "markdown". A page in a project named "Test" opened with Chrome for example has the browser title "Test - - Chrome" and the browser tab is labeled with "Test - ".
> I recommend using the first headline in the markdown file as a page title.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (DOXIA-472) No page title is set when using markdown
Posted by "Jason Duke (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/DOXIA-472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=311630#comment-311630 ]
Jason Duke edited comment on DOXIA-472 at 10/16/12 3:55 PM:
------------------------------------------------------------
I have tried what Benjamin Piwowarski suggests, but it does not appear to work, at least not when using doxia and markdown as part of the Maven site generation capabilities. It properly outputs the HTML markup directly inline within the generated page template HTML, which is down in the body. The desired behavior would be for it to contribute to the title used by the site plugin when rendering the actual HTML head element of the page.
was (Author: dukejansen):
I have tried what Benjamin Piwowarski suggests, but it does not appear to work, at least not when using doxia and markdown as part of the Maven site generation capabilities.
> No page title is set when using markdown
> ----------------------------------------
>
> Key: DOXIA-472
> URL: https://jira.codehaus.org/browse/DOXIA-472
> Project: Maven Doxia
> Issue Type: Bug
> Components: Module - Markdown
> Affects Versions: 1.3
> Reporter: Klaus Reimer
> Priority: Minor
>
> No page title is created for pages which are defined with the markup language "markdown". A page in a project named "Test" opened with Chrome for example has the browser title "Test - - Chrome" and the browser tab is labeled with "Test - ".
> I recommend using the first headline in the markdown file as a page title.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (DOXIA-472) No page title is set when using markdown
Posted by "Benjamin Piwowarski (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/DOXIA-472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=311476#comment-311476 ]
Benjamin Piwowarski edited comment on DOXIA-472 at 10/15/12 3:13 AM:
---------------------------------------------------------------------
This is already possible by using
<head><title>Your title</title></head>
as the first line of your MarkedDown page
was (Author: bpiwowar):
Hi,
this is already possible by using
<head><title>Your title</title></head>
as the first line of your MarkedDown page
> No page title is set when using markdown
> ----------------------------------------
>
> Key: DOXIA-472
> URL: https://jira.codehaus.org/browse/DOXIA-472
> Project: Maven Doxia
> Issue Type: Bug
> Components: Module - Markdown
> Affects Versions: 1.3
> Reporter: Klaus Reimer
> Priority: Minor
>
> No page title is created for pages which are defined with the markup language "markdown". A page in a project named "Test" opened with Chrome for example has the browser title "Test - - Chrome" and the browser tab is labeled with "Test - ".
> I recommend using the first headline in the markdown file as a page title.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (DOXIA-472) No page title is set when using markdown
Posted by "Klaus Reimer (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/DOXIA-472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=311650#comment-311650 ]
Klaus Reimer commented on DOXIA-472:
------------------------------------
@Benjamin: Haven't tested it myself so I trust Jason's observation that it doesn't work. Only want to add that even if it worked then this would just be a workaround. In APT format the HTML page title is generated by the plugin by using the main headline specified in APT markup. So for MarkDown the approach should be similar: Use the first headline as HTML page title. Another reason against your solution is that Maven already has some logic to merge the page title with the project title. In your approach this logic must be implemented manually in every page. So this is quite some boiler plate code in markdown files which would be completely unnecessary if the plugin simply used the first markdown headline for the page title.
> No page title is set when using markdown
> ----------------------------------------
>
> Key: DOXIA-472
> URL: https://jira.codehaus.org/browse/DOXIA-472
> Project: Maven Doxia
> Issue Type: Bug
> Components: Module - Markdown
> Affects Versions: 1.3
> Reporter: Klaus Reimer
> Priority: Minor
>
> No page title is created for pages which are defined with the markup language "markdown". A page in a project named "Test" opened with Chrome for example has the browser title "Test - - Chrome" and the browser tab is labeled with "Test - ".
> I recommend using the first headline in the markdown file as a page title.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (DOXIA-472) No page title is set when using markdown
Posted by "Jason Duke (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/DOXIA-472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=308912#comment-308912 ]
Jason Duke commented on DOXIA-472:
----------------------------------
This would be really useful.
> No page title is set when using markdown
> ----------------------------------------
>
> Key: DOXIA-472
> URL: https://jira.codehaus.org/browse/DOXIA-472
> Project: Maven Doxia
> Issue Type: Bug
> Components: Module - Markdown
> Affects Versions: 1.3
> Reporter: Klaus Reimer
> Priority: Minor
>
> No page title is created for pages which are defined with the markup language "markdown". A page in a project named "Test" opened with Chrome for example has the browser title "Test - - Chrome" and the browser tab is labeled with "Test - ".
> I recommend using the first headline in the markdown file as a page title.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (DOXIA-472) No page title is set when using markdown
Posted by "Jason Duke (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/DOXIA-472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=311630#comment-311630 ]
Jason Duke commented on DOXIA-472:
----------------------------------
I have tried what Benjamin Piwowarski suggests, but it does not appear to work, at least not when using doxia and markdown as part of the Maven site generation capabilities.
> No page title is set when using markdown
> ----------------------------------------
>
> Key: DOXIA-472
> URL: https://jira.codehaus.org/browse/DOXIA-472
> Project: Maven Doxia
> Issue Type: Bug
> Components: Module - Markdown
> Affects Versions: 1.3
> Reporter: Klaus Reimer
> Priority: Minor
>
> No page title is created for pages which are defined with the markup language "markdown". A page in a project named "Test" opened with Chrome for example has the browser title "Test - - Chrome" and the browser tab is labeled with "Test - ".
> I recommend using the first headline in the markdown file as a page title.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira