File tree 4 files changed +3
-4
lines changed
4 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ def __init__(self):
28
28
29
29
def posts (self , fe = None , tag = None ):
30
30
31
-
32
31
if fe :
33
32
return self .Post .query .filter_by (PostStatus = '1' ).order_by (self .Post .Id .desc ()).all ()
34
33
Original file line number Diff line number Diff line change 7
7
fe = Blueprint ('fe' , __name__ )
8
8
9
9
10
- @fe .route ('/<tagname>' , methods = ['GET' ])
10
+ @fe .route ('/tag/ <tagname>' , methods = ['GET' ])
11
11
def hometags (tagname = None ):
12
12
13
13
tag = TagModel ()
Original file line number Diff line number Diff line change 9
9
< div class ="col-xs-12 ">
10
10
< div style ="text-align: center; " class ="col-xs-12 ">
11
11
{% for tag in tags%}
12
- < a href ="/{{ tag.TagName}} " style ="color: #b6b9ba;font-size: {{ format_font(tag.Id) + 9 }}px "> {{
12
+ < a href ="/tag/ {{ tag.TagName}} " style ="color: #b6b9ba;font-size: {{ format_font(tag.Id) + 9 }}px "> {{
13
13
tag.TagName}}</ a >
14
14
{% endfor %}
15
15
</ div >
Original file line number Diff line number Diff line change 6
6
< div class ="col-xs-12 ">
7
7
< div style ="text-align: center; " class ="col-xs-12 ">
8
8
{% for tag in tags%}
9
- < a href ="/{{ tag.TagName}} " style ="color: #b6b9ba;font-size: {{ format_font(tag.Id) + 9 }}px "> {{
9
+ < a href ="/tag/ {{ tag.TagName}} " style ="color: #b6b9ba;font-size: {{ format_font(tag.Id) + 9 }}px "> {{
10
10
tag.TagName}}</ a >
11
11
{% endfor %}
12
12
</ div >
You can’t perform that action at this time.
0 commit comments