diff options
| author | grm <grm@eyesin.space> | 2026-09-17 16:42:15 +0300 |
|---|---|---|
| committer | grm <grm@eyesin.space> | 2026-09-17 16:42:15 +0300 |
| commit | d0601f06c080a8eb8d781fdd0e3338cd7ed42690 (patch) | |
| tree | 1931e4312ee2db15dfd0a99583c8ebadf0393e2b /internal/i18n | |
| parent | 4a6f987bf7f9d73e9dd33d225fd2d73e9bf69a88 (diff) | |
| download | blogspace-d0601f06c080a8eb8d781fdd0e3338cd7ed42690.tar.gz blogspace-d0601f06c080a8eb8d781fdd0e3338cd7ed42690.tar.bz2 blogspace-d0601f06c080a8eb8d781fdd0e3338cd7ed42690.zip | |
Add post summaries, featured images and a page outro
Recreating gizmolab.net as a blog showed three things the design system
could not express, all of them ordinary blog features:
- Listings can show a summary and a "Read more" link instead of the whole
post (theme.list_style). The summary is the source up to <!--more-->;
without the marker a Markdown post is cut at a block boundary after 70
words (never inside a code fence) and an HTML post is shown whole, since
cutting hand-written markup blind would leave tags open. Computed at
render time (Post.Excerpt/HasMore), nothing new is stored.
- A post can carry a featured image (posts.image, a library file that is
unset when the file is deleted): a thumbnail floated beside the entry on
listings, and on the post page above or below the text, or not at all,
as theme.post_image says. The picker is the design page's imagepick; its
library panel moves out of design.html into partials/imagelib.html so
both forms share it — which also removes a stale pickAction call the
design form's click handler would have hit.
- A page can have a closing text after its posts (pages.outro_md/html), in
the intro's format: the per-page counterpart of the blog-wide "after the
posts" module, for a home page that ends in a site map or a widget. The
editor partial takes formatof to share another editor's Format row, and
its upload field is now <name>_file so two editors fit in one form.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Sd8UPWrvyYCLj97JexNw3A
Diffstat (limited to 'internal/i18n')
| -rw-r--r-- | internal/i18n/el.go | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/internal/i18n/el.go b/internal/i18n/el.go index 15270c1..3c70fb2 100644 --- a/internal/i18n/el.go +++ b/internal/i18n/el.go @@ -100,7 +100,12 @@ var el = map[string]string{ "not in menu": "εκτός μενού", "Make home": "Ορισμός ως αρχικής", "leave empty to make one from the title; e.g.": "αφήστε το κενό για να φτιαχτεί από τον τίτλο· π.χ.", - "Intro text": "Εισαγωγικό κείμενο", + "Intro text": "Εισαγωγικό κείμενο", + "Closing text": "Κείμενο κλεισίματος", + "shown after the posts, in the same format; optional": "εμφανίζεται μετά τις δημοσιεύσεις, στην ίδια μορφή· προαιρετικό", + "Featured image": "Κύρια εικόνα", + "Optional. A thumbnail on listings, and on the post page where the Design tab puts it.": "Προαιρετική. Μικρογραφία στις λίστες, και στη σελίδα της δημοσίευσης όπου την τοποθετεί η καρτέλα Σχεδίαση.", + "Image not added:": "Η εικόνα δεν προστέθηκε:", "shown above the posts; optional": "εμφανίζεται πάνω από τις δημοσιεύσεις· προαιρετικό", "Show in menu": "Εμφάνιση στο μενού", "Back to pages": "Πίσω στις σελίδες", @@ -236,6 +241,8 @@ var el = map[string]string{ "code": "κώδικας", "for a line": "για γραμμή", "Blank line = new paragraph. Press Enter once for a line break.": "Κενή γραμμή = νέα παράγραφος. Ένα Enter για αλλαγή γραμμής.", + "A line with": "Μια γραμμή με", + "marks where the summary ends on listings that show one.": "ορίζει πού τελειώνει η περίληψη στις λίστες που δείχνουν περίληψη.", // ---- settings ---- "Blog settings": "Ρυθμίσεις ιστολογίου", @@ -284,6 +291,7 @@ var el = map[string]string{ "My photos": "Οι φωτογραφίες μου", "no logo chosen": "δεν έχει επιλεγεί λογότυπο", "Nothing here yet.": "Τίποτα εδώ ακόμα.", + "Read more": "Διάβασε περισσότερα", "Nothing here yet — this area is not shown until you add a module.": "Τίποτα εδώ ακόμα — η περιοχή δεν εμφανίζεται μέχρι να προσθέσετε ένα στοιχείο.", "Add a module": "Προσθήκη στοιχείου", "Give the link a short text (max 60 characters).": "Δώστε στον σύνδεσμο ένα σύντομο κείμενο (έως 60 χαρακτήρες).", @@ -466,7 +474,15 @@ var el = map[string]string{ "A page or link filled in here is added when you save.": "Μια σελίδα ή ένας σύνδεσμος που συμπληρώνετε εδώ προστίθεται όταν αποθηκεύσετε.", "How the menu looks": "Πώς φαίνεται το μενού", "The box your posts and pages are shown in. It spans whatever the side columns leave.": "Το πλαίσιο στο οποίο εμφανίζονται οι δημοσιεύσεις και οι σελίδες σας. Απλώνεται σε ό,τι αφήνουν οι πλαϊνές στήλες.", - "Posts per page": "Δημοσιεύσεις ανά σελίδα", + "Posts per page": "Δημοσιεύσεις ανά σελίδα", + "On listings show": "Στις λίστες δείξε", + "The whole post": "Ολόκληρη τη δημοσίευση", + "A summary and a “Read more” link": "Περίληψη και σύνδεσμο «Διάβασε περισσότερα»", + "Featured image on the post page": "Κύρια εικόνα στη σελίδα της δημοσίευσης", + "Above the text": "Πάνω από το κείμενο", + "Below the text": "Κάτω από το κείμενο", + "Only on listings": "Μόνο στις λίστες", + "A summary is the post up to a line with <!--more-->, or its first paragraphs. A post's featured image is picked on the post form and shown as a thumbnail on listings.": "Περίληψη είναι η δημοσίευση μέχρι μια γραμμή με <!--more-->, αλλιώς οι πρώτες της παράγραφοι. Η κύρια εικόνα επιλέγεται στη φόρμα της δημοσίευσης και εμφανίζεται ως μικρογραφία στις λίστες.", "Around the posts": "Γύρω από τις δημοσιεύσεις", "Your own HTML before and after the posts — an intro box, a newsletter form, a badge…": "Δικό σας HTML πριν και μετά τις δημοσιεύσεις — ένα εισαγωγικό πλαίσιο, μια φόρμα newsletter, ένα σήμα…", "Show the left column": "Εμφάνιση της αριστερής στήλης", |
