summaryrefslogtreecommitdiff
path: root/desk/sur
diff options
context:
space:
mode:
Diffstat (limited to 'desk/sur')
-rw-r--r--desk/sur/nostril.hoon3
-rw-r--r--desk/sur/post.hoon10
2 files changed, 7 insertions, 6 deletions
diff --git a/desk/sur/nostril.hoon b/desk/sur/nostril.hoon
index 87f6611..b22ac10 100644
--- a/desk/sur/nostril.hoon
+++ b/desk/sur/nostril.hoon
@@ -11,10 +11,11 @@
:: feeds
own=feed:feed
following=(map @ux [profile=user-meta =feed:feed])
- follow-graph=(map @ux (set [pubkey=@ux name=@t relay=(unit @t)]))
+ follow-graph=(map @ux (set follow))
:: TODO global feed somehow?
==
++$ follow [pubkey=@ux name=@t relay=(unit @t)]
+$ keys [pub=@ priv=@]
++ default ^- state-0 =/ s *state-0 s(relays (silt ~['wss://relay.damus.io' 'wss://nos.lol']))
:: NOSTR structs
diff --git a/desk/sur/post.hoon b/desk/sur/post.hoon
index 75f2aa3..2fa3585 100644
--- a/desk/sur/post.hoon
+++ b/desk/sur/post.hoon
@@ -72,16 +72,17 @@
+$ content-map ((mop time content-list) gth)
++ corm ((on time content-list) gth)
-+$ content-list contents:contents-1
+:: +$ content-list contents:contents-1
++$ content-list contents
+$ li content-list
-++ contents-1
-|%
+$ contents (list block)
++$ paragraph (list inline)
++$ heading $?(%h1 %h2 %h3 %h4 %h5 %h6)
+$ block
$% [%paragraph p=(list inline)]
[%blockquote p=(list inline)]
[%table rows=(list (list contents))]
- [%heading p=cord q=@]
+ [%heading p=cord q=heading]
[%list p=(list inline) ordered=?]
[%media =media]
[%codeblock code=cord lang=cord]
@@ -118,4 +119,3 @@
:: [%date p=@da]
==
--
---