OpenSourceWorkflow / generator-kickstart

[deprecated]: yeoman generator for website development
MIT License
10 stars 1 forks source link

SVG Placeholder #172

Closed stephanfriedrich closed 8 years ago

stephanfriedrich commented 8 years ago

Ahoi, in our Projects, there are some inline SVG's in our HTML-Templates. It would be nice if kickstart provide a placeholder, which inserts SVG's from our SVG-Asset-Files.

Today, CMS/Backend/Frontend developer have to update these inline SVG manually, if the SVG File changed.

What do you think? Hopefully you could understand what i mean.

markusfalk commented 8 years ago

Could you provide an example please? :)

SpikeShape commented 8 years ago

My idea would be to add a default sub folder where inline SVGs are stored just like the components. SVG files could be loaded by typing something like

{svg:{map}}

This way the svg/map.svg file could be used in multiple places without having to edit multiple places if the SVG file needs to be changed.

I'd appreciate such a feature, too.

stephanfriedrich commented 8 years ago

correct, my intention was to use the same svg in multiple html files.

markusfalk commented 8 years ago

Why are you not just adding the svg to an existing compontent and use that whereever you want?

stephanfriedrich commented 8 years ago

hehe ..... awesome idea... BUUUUUT then we need an placeholder replacement not only for level0 (index.html), also for level1 (components.html).

BTW.: Da war doch mal einer der hatte da so ne Ähnliche Idee ;)

markusfalk commented 8 years ago

buuuut right now kickstart does not support nesting, does it? :D

stephanfriedrich commented 8 years ago

yes, not yet. BUUT we can build this ?! .... :dancers:

If you think its helpful, too

markusfalk commented 8 years ago

until then ;)