sort by created
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Arnas Udovic 2024-07-21 07:45:26 +03:00
parent 0da0597644
commit 465769a00d
3 changed files with 2 additions and 26 deletions

View file

@ -4,30 +4,6 @@
My capsule in Gemini space. Built with zord-tree support My capsule in Gemini space. Built with zord-tree support
## TODO
* refactor layout
* security
* citata from some file
* add pagehint counter in abcex
* add gallery categories. index.md with secret to dynamic generators on build
__DONE__
* remove capsule title from simple page
* main.go:173 add content type by extension
* add image or other file not `gmi` download
* feed
* add category view
* add tag view
* add file view
* about
* migrate to gRPC
* routing, not found
* template engine
* all other languages under sgs
* index file redirects to category
* index file displayed as intro to category
## Run dev ## Run dev
go run . -hostname=localhost -certificatePath=~/ -fileSrvHost=localhost -fileSrvPort=8301 -defaultLang=sgs -supportedLang=lt -key 123 go run . -hostname=localhost -certificatePath=~/ -fileSrvHost=localhost -fileSrvPort=8301 -defaultLang=sgs -supportedLang=lt -key 123

View file

@ -83,7 +83,7 @@ func (tree *Tree) GetIndexFile() (*TreeFile, error) {
func GetLastFiles(files []*TreeFile) []*TreeFile { func GetLastFiles(files []*TreeFile) []*TreeFile {
sortingFiles := make(map[string]*TreeFile) sortingFiles := make(map[string]*TreeFile)
for _, f := range files { for _, f := range files {
sortingFiles[f.Id] = f sortingFiles[f.Created] = f
} }
keys := make([]string, 0, len(sortingFiles)) keys := make([]string, 0, len(sortingFiles))

View file

@ -29,7 +29,7 @@ Articles I wrote simply in files and put them in my self-hosted cloud by created
From this service it is served to gemini service what is written in Go, too, or to http service (backend on Go, frontend on Vue.js). For communications I use gRPC. From this service it is served to gemini service what is written in Go, too, or to http service (backend on Go, frontend on Vue.js). For communications I use gRPC.
=> /en/f/gemini/arns_lt more... => /f/gemini/arns_lt more...
=> https://g.arns.lt/zordsdavini/zord-tree zord-tree library to build tree from files => https://g.arns.lt/zordsdavini/zord-tree zord-tree library to build tree from files
=> https://g.arns.lt/zordsdavini/arns-lt-tree-push-service service written on top of zord-tree to serve files => https://g.arns.lt/zordsdavini/arns-lt-tree-push-service service written on top of zord-tree to serve files
=> https://g.arns.lt/zordsdavini/arns-lt-gemini gemini service => https://g.arns.lt/zordsdavini/arns-lt-gemini gemini service