Commit Diff
Diff:
31d4eecb81ba84e61f492053f00f7778b6d9ada8
420337b301ecee0fb4c17f576d30adb27325059a
Commit:
420337b301ecee0fb4c17f576d30adb27325059a
Tree:
11048319d257490a7caf5df4b12600e6026ea277
Author:
Omar Polo <op@omarpolo.com>
Date:
Sat Feb 19 13:08:51 2022 UTC
Message:
sync gempkg
commit - 31d4eecb81ba84e61f492053f00f7778b6d9ada8
commit + 420337b301ecee0fb4c17f576d30adb27325059a
blob - 0c9343f80eed93d5a26acedd204c252c90bcdb8e
blob + 69b59a7f92e19234227155405aac0070a37cc726
--- resources/cgi/gempkg
+++ resources/cgi/gempkg
@@ -82,8 +82,8 @@ def homepage():
print("Welcome to GemPKG,",
"the gemini interface for the OpenBSD ports collection.")
print("")
- print(f"=> {script_path}/search Search for a package")
- print(f"=> {script_path}/all All categories")
+ print(f"=> {script_path}/search/ Search for a package")
+ print(f"=> {script_path}/all/ All categories")
print("")
print(
"What you search will be matched against the package name (pkgstem),",
@@ -93,8 +93,8 @@ def homepage():
def nav():
print(f"=> {script_path}/ GemPKG")
- print(f"=> {script_path}/search Search for a package")
- print(f"=> {script_path}/all All Categories")
+ print(f"=> {script_path}/search/ Search for a package")
+ print(f"=> {script_path}/all/ All Categories")
print("")
@@ -134,6 +134,7 @@ def searchpage():
reply(20, "text/gemini;lang=en")
nav()
+ print(f"# packages matching {query}\n")
for row in cursor:
stem, comment, fullpkgpath = row
print(f"=> {script_path}/{fullpkgpath}/ {stem}: {comment}")
Omar Polo