SF.net SVN: gar:[26509] csw/mgar/pkg/opencsw-manual/trunk/files/ osqa-migration
cgrzemba at users.sourceforge.net
cgrzemba at users.sourceforge.net
Tue Jan 29 08:35:54 CET 2019
Revision: 26509
http://sourceforge.net/p/gar/code/26509
Author: cgrzemba
Date: 2019-01-29 07:35:51 +0000 (Tue, 29 Jan 2019)
Log Message:
-----------
add subpath 'questions', shorten canonical link
Modified Paths:
--------------
csw/mgar/pkg/opencsw-manual/trunk/files/osqa-migration/answer.html.tmpl
csw/mgar/pkg/opencsw-manual/trunk/files/osqa-migration/generate_answer_html.py
csw/mgar/pkg/opencsw-manual/trunk/files/osqa-migration/question.html.tmpl
Modified: csw/mgar/pkg/opencsw-manual/trunk/files/osqa-migration/answer.html.tmpl
===================================================================
--- csw/mgar/pkg/opencsw-manual/trunk/files/osqa-migration/answer.html.tmpl 2019-01-28 19:48:49 UTC (rev 26508)
+++ csw/mgar/pkg/opencsw-manual/trunk/files/osqa-migration/answer.html.tmpl 2019-01-29 07:35:51 UTC (rev 26509)
@@ -3,8 +3,8 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
- <link href="../../css/style.css" rel="stylesheet" type="text/css" media="all" />
- <link rel="canonical" href="https://www.opencsw.org/community/{{id}}/{{title|slugify}}/index.html" />
+ <link href="../../../css/style.css" rel="stylesheet" type="text/css" media="all" />
+ <link rel="canonical" href="https://www.opencsw.org/community/questions/{{id}}/{{title|slugify}}" />
<title>OpenCSW Q&A Forum</title>
</head>
<body>
Modified: csw/mgar/pkg/opencsw-manual/trunk/files/osqa-migration/generate_answer_html.py
===================================================================
--- csw/mgar/pkg/opencsw-manual/trunk/files/osqa-migration/generate_answer_html.py 2019-01-28 19:48:49 UTC (rev 26508)
+++ csw/mgar/pkg/opencsw-manual/trunk/files/osqa-migration/generate_answer_html.py 2019-01-29 07:35:51 UTC (rev 26509)
@@ -8,7 +8,7 @@
import datetime
from jinja2 import Template, environmentfilter, Environment, FileSystemLoader
-HTML_PATH="/home/cgrzemba/public_html/osqa-static"
+HTML_PATH="/home/cgrzemba/public_html/osqa-static/questions/"
ENCODING = 'utf-8'
SPAMMERS = ['maloriegrebetr']
Modified: csw/mgar/pkg/opencsw-manual/trunk/files/osqa-migration/question.html.tmpl
===================================================================
--- csw/mgar/pkg/opencsw-manual/trunk/files/osqa-migration/question.html.tmpl 2019-01-28 19:48:49 UTC (rev 26508)
+++ csw/mgar/pkg/opencsw-manual/trunk/files/osqa-migration/question.html.tmpl 2019-01-29 07:35:51 UTC (rev 26509)
@@ -21,7 +21,9 @@
</ul>
</div>
<p>
-We retired the OSQA community website and archive the posts. This web site offers the content collected the last years. If you have a question, write to the users mailing list users at lists.opencsw.org or join the IRC #opencsw.
+We retired the OSQA community website and archive the posts. This web site offers the content collected the last years.
+<br/>
+ If you have a question, write to the users mailing list users at lists.opencsw.org or join the IRC #opencsw.
</p>
<h1>
OSQA Community questions
@@ -29,7 +31,7 @@
<ul id="quest">
{% for quest in questions %}
<li>
- <a href={{ quest.id }}/{{ quest.title|slugify }}/index.html >{{ quest.title }}</a>
+ <a href=questions/{{ quest.id }}/{{ quest.title|slugify }}/index.html >{{ quest.title }}</a>
</li>
{% endfor %}
</ul>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list