mirror of https://github.com/lxndrblz/anatole.git

google-labs-jules[bot]
54 mins ago d20bcba1e0d928abd0bd7650984b4a2b59a75c8d
refactor: extract author name extraction logic to a partial

Extracts duplicated logic for resolving an author's name from a generic author object (which can be a map or a string) into a new reusable partial `layouts/partials/get_author_name.html`. Updates multiple files to use this new partial, improving code maintainability.

Co-authored-by: KarelZe <12801659+KarelZe@users.noreply.github.com>
4 files modified
1 files added
55 ■■■■■ changed files
layouts/_default/rss.xml 11 ●●●●● diff | view | raw | blame | history
layouts/partials/footer.html 11 ●●●●● diff | view | raw | blame | history
layouts/partials/get_author_name.html 11 ●●●●● diff | view | raw | blame | history
layouts/partials/head.html 11 ●●●●● diff | view | raw | blame | history
layouts/partials/schema.html 11 ●●●●● diff | view | raw | blame | history