diff options
| -rw-r--r-- | src/WWWStaticusPlugins.hs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/WWWStaticusPlugins.hs b/src/WWWStaticusPlugins.hs index e73b324..cbd14b7 100644 --- a/src/WWWStaticusPlugins.hs +++ b/src/WWWStaticusPlugins.hs @@ -35,6 +35,10 @@ import qualified Data.ByteString.Lazy as BL import qualified Data.ByteString.Lazy.Char8 as Char8 -- IDEAS +-- +-- * !generate <video> video and audio codecs properly! +-- * !generate proper favicon (multi-res?) +-- -- * download file from inet and save -- * tags -- * search function @@ -203,7 +207,8 @@ staticusPluginCards = StaticusPlugin "bootstrap cards" run return $ replace "###TITLE###" y $ replace "###FOOTER###" z -- (z++"<br />"++a) $ replace "###TEXT###" (unlines $ map spans xs) tmpl - tmpl ="<div class ='col-sm-6 col-md-4 col-xl-3 mb-4'>" + tmpl ="<div><h2>###TITLE###</h2><p>tags: ###TEXT###<br />url: ###FOOTER###</p><img src='###IMG###' ><hr /></div>" + tmpl_old ="<div class ='col-sm-6 col-md-4 col-xl-3 mb-4'>" ++"<div class='card h-100'>" ++"<img class='border-bottom card-img-top' src='###IMG###' >" ++"<div class='card-body'>" @@ -214,5 +219,6 @@ staticusPluginCards = StaticusPlugin "bootstrap cards" run return ++"</div>" ++"<div class='text-center card-footer text-muted'>###FOOTER###</div>" ++"</div></div>" + spans ('-':vv)=let (x:xs)=words vv in "<span class='badge "++x++"'>"++unwords xs++"</span>" spans xx = xx |
