From d7fc4131ab901f6247d006c7dc3a9e2683117b60 Mon Sep 17 00:00:00 2001 From: Anton Dyudin Date: Thu, 14 Dec 2017 16:39:12 -0800 Subject: [PATCH] better frontend integration --- mar/collections/config.hoon | 1 + mar/collections/topic.hoon | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/mar/collections/config.hoon b/mar/collections/config.hoon index 452207189a..9519e50199 100644 --- a/mar/collections/config.hoon +++ b/mar/collections/config.hoon @@ -27,6 +27,7 @@ ;pre: {(trip (of-wain:format txt))} ;list; :: show topics == + ++ front (my title+desc.con ~) :: title in lists -- :: ++ grab diff --git a/mar/collections/topic.hoon b/mar/collections/topic.hoon index 38bfddb2e7..9b9c9a1db2 100644 --- a/mar/collections/topic.hoon +++ b/mar/collections/topic.hoon @@ -18,6 +18,14 @@ :+ (cat 3 '> ' tit.top) (crip <[by=who.top ed=wed.top]>) wat.top + :: + ++ elem :: web display + ;div + ;pre: {(trip (of-wain:format txt))} + ;hr; + ;kids; :: show comments + == + ++ front (my title+tit.top ~) :: title in lists -- :: ++ grab