diff options
author | Ctibor <ctibor@brancik.cz> | 2017-03-23 12:16:37 +0100 |
---|---|---|
committer | Ctibor <ctibor@brancik.cz> | 2017-03-23 12:16:37 +0100 |
commit | d97e1cac6ae945f8df1aecfc66be4c640314410e (patch) | |
tree | c5fb8caa0fa4a274f278bb1b8f2f0c492dd9a567 | |
parent | 8270e21edb6d45f2420b1f77efe19ed93e02fb04 (diff) | |
download | hnizdo-d97e1cac6ae945f8df1aecfc66be4c640314410e.tar.gz hnizdo-d97e1cac6ae945f8df1aecfc66be4c640314410e.tar.bz2 |
Add footer to index and improve pagination
-rw-r--r-- | cgi-bin/config.py | 2 | ||||
-rw-r--r-- | cgi-bin/display.py | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/cgi-bin/config.py b/cgi-bin/config.py index 175979f..607ddec 100644 --- a/cgi-bin/config.py +++ b/cgi-bin/config.py @@ -1,3 +1,3 @@ datadir='img/' special = ('index', 'latest') -pagination = 10 +pagination = 30 diff --git a/cgi-bin/display.py b/cgi-bin/display.py index 4a4602d..37df2e0 100644 --- a/cgi-bin/display.py +++ b/cgi-bin/display.py @@ -78,6 +78,7 @@ class Body: print("</li>") f = f + 1 print ("</ul>") + print ("<footer><a href=\"?f=latest\">úvod</a></footer>") def page(self): if self.site == "index": |