fix(org): un-bullet image lists and restore responsive-img class
authorSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Sat, 27 Jun 2026 12:20:39 +0000 (15:20 +0300)
committerSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Sat, 27 Jun 2026 12:20:39 +0000 (15:20 +0300)
Several project pages wrapped their gallery images in org-mode bullet

lists (`+ Body: / + [[file:body.png]]` style). In the published HTML

this rendered as a bullet point around a single image — visually

junk — and the bullets also stripped the `#+attr_html: :class

responsive-img` directive, so the images rendered at full container

width instead of the project's intended responsive size.

Convert each affected block to a proper sub-heading with the image as

a bare paragraph:

  before:

    + Body:

      + [[file:body.png]]

  after:

    ** Body

    #+attr_html: :class responsive-img

    [[file:body.png]]

Flat bullet lists of images inside `** Section` headings (Lab heater)

are also un-bulleted; the `responsive-img` class is added to each.

Files touched: 6 (Cases/Macro filter storage compartment, Cases/

Microscope slide box, Cases/Fujifilm camera battery box, Optics/35mm

film copying device, Miscellaneous/Battery tester, Miscellaneous/

Lab heater and cooler).

Cases/Fujifilm camera battery box/index.org
Cases/Macro filter storage compartment/index.org
Cases/Microscope slide box/index.org
Miscellaneous/Battery tester/index.org
Miscellaneous/Lab heater and cooler/index.org
Optics/35mm film copying device/index.org

index 56a9df7..660b932 100644 (file)
@@ -32,10 +32,14 @@ You can [[file:body%20and%20cover.FCStd][download FreeCAD project]] file to twea
 files ready for 3D printing:
 
 + Body: [[file:body.stl][download STL]]
-  + [[file:body.png]]
+
+  #+attr_html: :class responsive-img
+  [[file:body.png]]
 
 + Cover: [[file:cover.stl][download STL]]
-  + [[file:cover.png]]
+
+  #+attr_html: :class responsive-img
+  [[file:cover.png]]
 
 * Repository
 
index 9faced3..7673a0f 100644 (file)
 
 Case for 52mm [[https://en.wikipedia.org/wiki/Close-up_lens][macro filter]].
 
-+ Body:
-  + [[file:body.png]]
+*Body*
+#+attr_html: :class responsive-img
+[[file:body.png]]
 
-+ Cover:
-  + [[file:cover.png]]
+*Cover*
+#+attr_html: :class responsive-img
+[[file:cover.png]]
 
 Download:
 | item  | FreeCAD file | STL file |
index 4973756..4a5b3df 100644 (file)
@@ -32,12 +32,13 @@ magnets in holes.
   + 10x slides (25.5mm x 75.5mm x 1.5mm)
   + 10x cover slips: (20.5 x 20.5 x 0.5mm)
 
-+ Parts:
-  + Body:
-    + [[file:body.png]]
+*Body*
+  #+attr_html: :class responsive-img
+  [[file:body.png]]
 
-  + Cover:
-    + [[file:cover.png]]
+*Cover*
+  #+attr_html: :class responsive-img
+  [[file:cover.png]]
 
 Download:
 | item  | FreeCAD file | STL file |
index 2accd75..c2fc875 100644 (file)
@@ -46,8 +46,13 @@ is being quickly depleted during measurement.
 #+attr_html: :class responsive-img
 [[file:assembly.png]]
 
-+ Body: [[file:body.png]]
-+ Cover: [[file:cover.png]]
+*Body*
+#+attr_html: :class responsive-img
+[[file:body.png]]
+
+*Cover*
+#+attr_html: :class responsive-img
+[[file:cover.png]]
 
 + Download:
   + [[file:bodyAndCover.FCStd][FreeCAD project]]
index d7f120c..6936579 100644 (file)
@@ -94,8 +94,11 @@ effectiveness of the entire module drops.
 #+attr_html: :class responsive-img
 [[file:body.stl]]
 
-- [[file:body, 1.png]]
-- [[file:body, 2.png]]
+#+attr_html: :class responsive-img
+[[file:body, 1.png]]
+
+#+attr_html: :class responsive-img
+[[file:body, 2.png]]
 
 ** Top cover
 :PROPERTIES:
@@ -104,7 +107,8 @@ effectiveness of the entire module drops.
 #+attr_html: :class responsive-img
 [[file:top cover.stl]]
 
-- [[file:top cover.png]]
+#+attr_html: :class responsive-img
+[[file:top cover.png]]
 
 ** Bottom cover
 :PROPERTIES:
@@ -113,7 +117,8 @@ effectiveness of the entire module drops.
 #+attr_html: :class responsive-img
 [[file:bottom cover.stl]]
 
-- [[file:bottom cover.png]]
+#+attr_html: :class responsive-img
+[[file:bottom cover.png]]
 
 
 * License and Disclaimer
index 918769e..0616ab9 100644 (file)
@@ -29,13 +29,19 @@ illuminated by desk lamp.
 
 Device consists of 3 parts:
 + body: [[file:body.stl][download STL]]
-  + [[file:body.png]]
+
+  #+attr_html: :class responsive-img
+  [[file:body.png]]
 
 + cover: [[file:cover.stl][download STL]]
-  + [[file:cover.png]]
+
+  #+attr_html: :class responsive-img
+  [[file:cover.png]]
 
 + bottom stand: [[file:bottom.stl][download STL]]
-  + [[file:bottom.png]]
+
+  #+attr_html: :class responsive-img
+  [[file:bottom.png]]
 
 Body and cover are pushed together using 2 rubber bands on the
 sides. Bottom rectangular stand is attached to body via screw on the