{"id":246,"date":"2022-11-17T22:32:51","date_gmt":"2022-11-17T22:32:51","guid":{"rendered":"https:\/\/drostan.org\/hub\/2022\/11\/"},"modified":"2022-11-17T22:32:51","modified_gmt":"2022-11-17T22:32:51","slug":"246","status":"publish","type":"post","link":"https:\/\/drostan.org\/hub\/2022\/11\/246\/","title":{"rendered":""},"content":{"rendered":"<div class=\"activitypub-reply-block wp-block-activitypub-reply\" aria-label=\"Reply\" data-in-reply-to=\"https:\/\/chaos.social\/users\/taseroth\/statuses\/109360934214628664\"> <div class=\"activitypub-embed u-in-reply-to h-cite\"> <div class=\"activitypub-embed-header p-author h-card\"> <img decoding=\"async\" class=\"u-photo\" src=\"https:\/\/assets.chaos.social\/accounts\/avatars\/108\/261\/907\/107\/690\/984\/original\/1085fea88a1dca42.png\" alt=\"\" \/> <div class=\"activitypub-embed-header-text\"> <h2 class=\"p-name\">Bert<\/h2> <a href=\"https:\/\/chaos.social\/users\/taseroth\" class=\"ap-account u-url\">@taseroth@chaos.social<\/a> <\/div> <\/div> <div class=\"activitypub-embed-content\"> <div class=\"ap-subtitle p-summary e-content\"><p>dear <a href=\"https:\/\/chaos.social\/tags\/documentation\" class=\"mention hashtag\" rel=\"tag\">#<span>documentation<\/span><\/a> people: Is there a way in <a href=\"https:\/\/chaos.social\/tags\/Antora\" class=\"mention hashtag\" rel=\"tag\">#<span>Antora<\/span><\/a> to keep <a href=\"https:\/\/chaos.social\/tags\/AsciiDoc\" class=\"mention hashtag\" rel=\"tag\">#<span>AsciiDoc<\/span><\/a> and images together. I would like to have a subdir per page and in there a &#039;image&#039; subdir containing only the images for that page<\/p><\/div> <\/div> <div class=\"activitypub-embed-meta\"> <a href=\"https:\/\/chaos.social\/users\/taseroth\/statuses\/109360934214628664\" class=\"ap-stat ap-date dt-published u-in-reply-to\">2022-11-17, 20:03<\/a> <span class=\"ap-stat\"> <strong>1<\/strong> boosts <\/span> <span class=\"ap-stat\"> <strong>1<\/strong> favorites <\/span> <\/div> <\/div> <style>\/** * ActivityPub embed styles. *\/ .activitypub-embed { background: #fff; border: 1px solid #e6e6e6; border-radius: 12px; padding: 0; max-width: 100%; font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif; } .activitypub-reply-block .activitypub-embed { margin: 1em 0; } .activitypub-embed-header { padding: 15px; display: flex; align-items: center; gap: 10px; } .activitypub-embed-header img { width: 48px; height: 48px; border-radius: 50%; } .activitypub-embed-header-text { flex-grow: 1; } .activitypub-embed-header-text h2 { color: #000; font-size: 15px; font-weight: 600; margin: 0; padding: 0; } .activitypub-embed-header-text .ap-account { color: #687684; font-size: 14px; text-decoration: none; } .activitypub-embed-content { padding: 0 15px 15px; } .activitypub-embed-content .ap-title { font-size: 23px; font-weight: 600; margin: 0 0 10px; padding: 0; color: #000; } .activitypub-embed-content .ap-subtitle { font-size: 15px; color: #000; margin: 0 0 15px; } .activitypub-embed-content .ap-preview { border: 1px solid #e6e6e6; border-radius: 8px; box-sizing: border-box; display: grid; gap: 2px; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; margin: 1em 0 0; min-height: 64px; overflow: hidden; position: relative; width: 100%; } .activitypub-embed-content .ap-preview img { border: 0; box-sizing: border-box; display: block; height: 100%; object-fit: cover; overflow: hidden; position: relative; width: 100%; } .activitypub-embed-content .ap-preview video, .activitypub-embed-content .ap-preview audio { max-width: 100%; display: block; grid-column: 1 \/ span 2; } .activitypub-embed-content .ap-preview audio { width: 100%; } .activitypub-embed-content .ap-preview.layout-1 { grid-template-columns: 1fr; grid-template-rows: 1fr; } .activitypub-embed-content .ap-preview.layout-2 { aspect-ratio: auto; grid-template-rows: 1fr; height: auto; } .activitypub-embed-content .ap-preview.layout-3 > img:first-child { grid-row: span 2; } .activitypub-embed-content .ap-preview-text { padding: 15px; } .activitypub-embed-meta { padding: 15px; border-top: 1px solid #e6e6e6; color: #687684; font-size: 13px; display: flex; gap: 15px; } .activitypub-embed-meta .ap-stat { display: flex; align-items: center; gap: 5px; } @media only screen and (max-width: 399px) { .activitypub-embed-meta span.ap-stat { display: none !important; } } .activitypub-embed-meta a.ap-stat { color: inherit; text-decoration: none; } .activitypub-embed-meta strong { font-weight: 600; color: #000; } .activitypub-embed-meta .ap-stat-label { color: #687684; } <\/style><\/div>\n\n<p><span class=\"h-card\" translate=\"no\"><a href=\"https:\/\/chaos.social\/@taseroth\" class=\"u-url mention\">@<span>taseroth<\/span><\/a><\/span> Just to be sure, there is a vibrant <a href=\"https:\/\/mastodon.social\/tags\/Antora\" class=\"mention hashtag\" rel=\"tag\">#<span>Antora<\/span><\/a> community via <a href=\"https:\/\/antora.zulipchat.com\/\" target=\"_blank\" rel=\"nofollow noopener\" translate=\"no\"><span class=\"invisible\">https:\/\/<\/span><span class=\"\">antora.zulipchat.com\/<\/span><span class=\"invisible\"><\/span><\/a> where the core people are very  responsive and helpful in either how it can be done, or why it doesn&#39;t fit the design concept \ud83d\ude42 <\/p>\n\n\n\n<p>I would write a page as `pages\/topic-a.adoc` and put page-specific images under `images\/topic-a\/image1.png` etc.<\/p>\n\n\n\n<p>Also because so far the Intellij Asciidoc\/Antora plugin I use does a great job at updating (refactoring) sources and references when renaming things.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>@taseroth Just to be sure, there is a vibrant #Antora community via https:\/\/antora.zulipchat.com\/ where the core people are very responsive and helpful in either how it can be done, or why it doesn&#39;t fit the design concept \ud83d\ude42 I would write a page as `pages\/topic-a.adoc` and put page-specific images under `images\/topic-a\/image1.png` etc. Also because so [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"status","meta":{"webmentions_disabled_pings":false,"webmentions_disabled":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":""},"categories":[1],"tags":[35],"class_list":["post-246","post","type-post","status-publish","format-status","hentry","category-uncategorized","tag-antora","post_format-post-format-status"],"_links":{"self":[{"href":"https:\/\/drostan.org\/hub\/wp-json\/wp\/v2\/posts\/246","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/drostan.org\/hub\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/drostan.org\/hub\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/drostan.org\/hub\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/drostan.org\/hub\/wp-json\/wp\/v2\/comments?post=246"}],"version-history":[{"count":0,"href":"https:\/\/drostan.org\/hub\/wp-json\/wp\/v2\/posts\/246\/revisions"}],"wp:attachment":[{"href":"https:\/\/drostan.org\/hub\/wp-json\/wp\/v2\/media?parent=246"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/drostan.org\/hub\/wp-json\/wp\/v2\/categories?post=246"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/drostan.org\/hub\/wp-json\/wp\/v2\/tags?post=246"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}