Compare commits
No commits in common. "8ef613b1556bbd5ef26154d0efa5030c20605ed5" and "2b19398465ae66b48ed765b4a03053c9ef7cb60c" have entirely different histories.
8ef613b155
...
2b19398465
@ -51,19 +51,11 @@ def fromdir(root_url, url, content_base_path, content_relative_path):
|
|||||||
|
|
||||||
path = os.path.join(content_base_path, content_relative_path)
|
path = os.path.join(content_base_path, content_relative_path)
|
||||||
|
|
||||||
if os.path.basename(content_relative_path) == "":
|
#print(path)
|
||||||
c = Catalog(
|
c = Catalog(
|
||||||
title="Comics",
|
title=os.path.basename(os.path.dirname(path)), root_url=root_url, url=url
|
||||||
root_url=root_url,
|
)
|
||||||
url=url
|
#print(c.url)
|
||||||
)
|
|
||||||
else:
|
|
||||||
c = Catalog(
|
|
||||||
title=os.path.basename(content_relative_path),
|
|
||||||
root_url=root_url,
|
|
||||||
url=url
|
|
||||||
)
|
|
||||||
#title=os.path.basename(os.path.dirname(path)), root_url=root_url, url=url
|
|
||||||
|
|
||||||
##########WORKING AREA###########
|
##########WORKING AREA###########
|
||||||
searchArr=[]
|
searchArr=[]
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
<table id="comics">
|
|
||||||
{% for i in result %}
|
|
||||||
<tr>
|
|
||||||
{% for j in range(0,9) %}
|
|
||||||
<td>{{ i[j] }}</td>
|
|
||||||
{% endfor %}
|
|
||||||
</tr>
|
|
||||||
{% endfor %}
|
|
||||||
</table>
|
|
Loading…
Reference in New Issue
Block a user