Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
solo-1
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
solo-1
Commits
134e04ad
Commit
134e04ad
authored
Jun 26, 2017
by
Liang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🎨
https://hacpai.com/article/1496233258522#1498490073061
parent
cab74df7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
src/main/webapp/skins/9IPHP/article.ftl
src/main/webapp/skins/9IPHP/article.ftl
+9
-1
No files found.
src/main/webapp/skins/9IPHP/article.ftl
View file @
134e04ad
...
...
@@ -99,8 +99,10 @@
</
#
if>
</div>
</footer>
<div
id=
"externalRelevantArticles"
class=
"list"
></div>
<
@
comments
commentList=
articleComments
article=
article
></
@
comments>
<div
id=
"externalRelevantArticles"
class=
"list"
></div>
<div
id=
"relevantArticles"
class=
"list"
></div>
<div
id=
"randomArticles"
class=
"list"
></div>
</article>
</main>
<
#include
"
side
.
ftl
"
>
...
...
@@ -109,10 +111,16 @@
<
#include
"
footer
.
ftl
"
>
<
@
comment_script
oId=
article.oId
>
page.tips.externalRelevantArticlesDisplayCount = "${externalRelevantArticlesDisplayCount}";
<
#if
0
!=
randomArticlesDisplayCount
>
page.loadRandomArticles();
</
#
if>
<
#if
0
!=
externalRelevantArticlesDisplayCount
>
page.loadExternalRelevantArticles("
<
#list
article
.
articleTags
?
split
(",")
as
articleTag
>
${articleTag}
<
#if
articleTag_has_next
>
,
</
#
if></
#
list>
"
, "
<header
class=
'title'
><h2>
${externalRelevantArticlesLabel}
</h2></header>
");
</
#
if>
<
#if
0
!=
relevantArticlesDisplayCount
>
page.loadRelevantArticles('${article.oId}', '
<h4>
${relevantArticlesLabel}
</h4>
');
</
#
if>
</
@
comment
_script
>
</body>
</html>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment