From 94dfe07839d1eb928de7fb09112401c1be22ee16 Mon Sep 17 00:00:00 2001 From: github_username_here Date: Wed, 25 Mar 2026 17:01:33 +0100 Subject: [PATCH] first rendered html --- cmd/main.go | 12 +- internal/models/index.html | 1 + public/Psaumes2.html | 152 --- public/Psaumes68.html | 0 public/css/automatic-token.css | 519 ++++++++++ public/css/automatic.css | 1746 +++++++++++++++++++++++++++++++- 6 files changed, 2273 insertions(+), 157 deletions(-) create mode 100644 public/Psaumes68.html create mode 100644 public/css/automatic-token.css diff --git a/cmd/main.go b/cmd/main.go index 1a4baff..b6ad2b3 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -2,8 +2,10 @@ package main import( "project.hechon.fr/internal/renderer" -/* "project.hechon.fr/internal/fetcher" -*/ + /* + "project.hechon.fr/internal/fetcher" + */ + "log" "os" "strings" @@ -48,16 +50,18 @@ func main (){ os.Exit(1) } cfg.ProperName = properName + /* + err = fetcher.FetchBook(&cfg) + */ err = renderer.ExtractChapter(&cfg, 2) + err = renderer.ExtractChapter(&cfg, 68) if err != nil { log.Printf("******%s*******\n", err) os.Exit(1) } -/* log.Printf("%v", cfg.Book.Chapters) -*/ os.Exit(0) } diff --git a/internal/models/index.html b/internal/models/index.html index 3c619da..4cf631c 100644 --- a/internal/models/index.html +++ b/internal/models/index.html @@ -8,6 +8,7 @@ Comprendre et chanter les Psaumes +