diff --git a/main.go b/main.go index bf53bd6..3d68caa 100644 --- a/main.go +++ b/main.go @@ -29,6 +29,8 @@ func generateHTML() { saveFile(t, `portfolio`) saveFile(t, `wyroby`) saveFile(t, `wyroby_torty`) + saveFile(t, `wyroby_slodkie_stoly`) + saveFile(t, `wyroby_lody`) } func main() { diff --git a/templates/index.gohtml b/templates/index.gohtml index 98caefb..00692ce 100644 --- a/templates/index.gohtml +++ b/templates/index.gohtml @@ -5,7 +5,7 @@

Słodkości tworzone z pasją

Naturalne składniki, domowe receptury i pasja. Tworzymy torty i wypieki na Twoje najważniejsze chwile - od codziennych radości po wielkie uroczystości

- Zobacz naszą ofertę + Zobacz naszą ofertę
tort @@ -45,7 +45,7 @@

Torty Okazjonalne

Weselne, urodzinowe i te bez okazji – od klasyki po nowoczesne musy.

- Przeglądaj Torty + Przeglądaj Torty @@ -62,7 +62,7 @@

Domowe Ciasta

Zapach tradycji: od serników po puszyste bezy

-
Wyberz ciasto + Wyberz ciasto @@ -79,7 +79,7 @@

Słodkie Stoły

Kompleksowa oprawa słodkości na większe przyjęcia.

-
Sprawdź słodkie stoły + Sprawdź słodkie stoły diff --git a/templates/wyroby.gohtml b/templates/wyroby.gohtml index 09b0958..7b665ce 100644 --- a/templates/wyroby.gohtml +++ b/templates/wyroby.gohtml @@ -1,17 +1,6 @@ {{template "header" "wyroby"}}
-

Nasze słodkości

-

Poznaj nasze tradycyjne receptury przekute w nowoczesne formy. Każdy wypiek to historia pasji, a każde lody - to - powiew naturalnej świeżości

-
- + {{template "wyroby_header" "ciasta"}}
diff --git a/templates/wyroby_header.gohtml b/templates/wyroby_header.gohtml new file mode 100644 index 0000000..63c9257 --- /dev/null +++ b/templates/wyroby_header.gohtml @@ -0,0 +1,13 @@ +{{define "wyroby_header"}} + +{{end}} \ No newline at end of file diff --git a/templates/wyroby_lody.gohtml b/templates/wyroby_lody.gohtml new file mode 100644 index 0000000..b01221b --- /dev/null +++ b/templates/wyroby_lody.gohtml @@ -0,0 +1,5 @@ +{{template "header" "wyroby"}} +
+ {{template "wyroby_header" "lody"}} +
+{{template "footer"}} \ No newline at end of file diff --git a/templates/wyroby_slodkie_stoly.gohtml b/templates/wyroby_slodkie_stoly.gohtml new file mode 100644 index 0000000..22d59a5 --- /dev/null +++ b/templates/wyroby_slodkie_stoly.gohtml @@ -0,0 +1,5 @@ +{{template "header" "wyroby"}} +
+ {{template "wyroby_header" "slodkie_stoly"}} +
+{{template "footer"}} \ No newline at end of file diff --git a/templates/wyroby_torty.gohtml b/templates/wyroby_torty.gohtml index 915171f..c6dde67 100644 --- a/templates/wyroby_torty.gohtml +++ b/templates/wyroby_torty.gohtml @@ -1,17 +1,6 @@ {{template "header" "wyroby"}}
- + {{template "wyroby_header" "torty"}}

Torty z masą cukrową