mirror of
https://github.com/urbit/shrub.git
synced 2025-01-06 04:07:23 +03:00
More template tweaks.
This commit is contained in:
parent
d97f32f4d5
commit
80b6707039
@ -6647,7 +6647,8 @@
|
|||||||
%+ knee *tuna |. ~+
|
%+ knee *tuna |. ~+
|
||||||
;~ pose
|
;~ pose
|
||||||
(stag %f ;~(pfix (plus ace) pav))
|
(stag %f ;~(pfix (plus ace) pav))
|
||||||
(stag %e ;~(plug hug nol))
|
(stag %e ;~(plug hog nol))
|
||||||
|
(stag %f nup)
|
||||||
;~(pfix tis (stag %f nol))
|
;~(pfix tis (stag %f nol))
|
||||||
;~(pfix hep (stag %a ;~(pfix gap tall)))
|
;~(pfix hep (stag %a ;~(pfix gap tall)))
|
||||||
;~(pfix lus (stag %b ;~(pfix gap tall)))
|
;~(pfix lus (stag %b ;~(pfix gap tall)))
|
||||||
@ -6660,7 +6661,7 @@
|
|||||||
;~ pose
|
;~ pose
|
||||||
(stag %f nup)
|
(stag %f nup)
|
||||||
(stag %f ped)
|
(stag %f ped)
|
||||||
(stag %e ;~(plug hug lif))
|
(stag %e ;~(plug hog lif))
|
||||||
==
|
==
|
||||||
::
|
::
|
||||||
++ bet :: wide inner top
|
++ bet :: wide inner top
|
||||||
@ -6679,21 +6680,38 @@
|
|||||||
?~ b
|
?~ b
|
||||||
[%dtzz %tas a]
|
[%dtzz %tas a]
|
||||||
[[%dtzz %tas a] [%dtzz %tas u.b]]
|
[[%dtzz %tas a] [%dtzz %tas u.b]]
|
||||||
;~(plug sym ;~(pose (stag ~ ;~(pfix fas sym)) (easy ~)))
|
;~(plug sym ;~(pose (stag ~ ;~(pfix cab sym)) (easy ~)))
|
||||||
::
|
::
|
||||||
++ hug :: wide twig
|
++ hog
|
||||||
%+ cook |=(a=twig a)
|
%+ cook
|
||||||
;~(plug fry ;~(pose jaw (easy [%dtzz %n ~])))
|
|= $: a=twig
|
||||||
::
|
b=(unit ,@tas)
|
||||||
++ jaw :: wide attributes
|
c=(unit ,@tas)
|
||||||
%+ ifix [pel per]
|
d=(unit twig)
|
||||||
%+ stag %clsg
|
e=(list twig)
|
||||||
%+ more ;~(plug com ace)
|
==
|
||||||
;~(plug fry ;~(pfix ace wide))
|
^- twig
|
||||||
|
=. e ?~(b e [[[%dtzz %tas %class] [%smdq (trip u.b)]] e])
|
||||||
|
=. e ?~(c e [[[%dtzz %tas %id] [%smdq (trip u.c)]] e])
|
||||||
|
=. e ?~(d e [[[%dtzz %tas %href] u.d] e])
|
||||||
|
[a %clsg e]
|
||||||
|
;~ plug
|
||||||
|
fry
|
||||||
|
;~(pose (stag ~ ;~(pfix fas sym)) (easy ~))
|
||||||
|
;~(pose (stag ~ ;~(pfix pat sym)) (easy ~))
|
||||||
|
;~(pose (stag ~ ;~(pfix dot (stag %smdq soil))) (easy ~))
|
||||||
|
;~ pose
|
||||||
|
%+ ifix [pel per]
|
||||||
|
%+ more ;~(plug com ace)
|
||||||
|
;~(plug fry ;~(pfix ace wide))
|
||||||
|
::
|
||||||
|
(easy ~)
|
||||||
|
==
|
||||||
|
==
|
||||||
::
|
::
|
||||||
++ lif :: wide elements
|
++ lif :: wide elements
|
||||||
%+ cook |=(a=(list tuna) a)
|
%+ cook |=(a=(list tuna) a)
|
||||||
;~(pose ;~(pfix col pep) (easy ~))
|
;~(pose ;~(pfix col pep) (cold ~ sem) (easy ~))
|
||||||
::
|
::
|
||||||
++ luf :: wide elements
|
++ luf :: wide elements
|
||||||
%+ cook |=(a=(list tuna) a)
|
%+ cook |=(a=(list tuna) a)
|
||||||
@ -6704,6 +6722,7 @@
|
|||||||
%+ cook |=(a=(list tuna) a)
|
%+ cook |=(a=(list tuna) a)
|
||||||
;~ pose
|
;~ pose
|
||||||
(cold ~ sem)
|
(cold ~ sem)
|
||||||
|
;~(pfix col pep(tol |))
|
||||||
;~(pfix ;~(plug col ace) (cook |=(a=(list tuna) [[%f a] ~]) pav))
|
;~(pfix ;~(plug col ace) (cook |=(a=(list tuna) [[%f a] ~]) pav))
|
||||||
(ifix [gap ;~(plug gap duz)] (more gap amp))
|
(ifix [gap ;~(plug gap duz)] (more gap amp))
|
||||||
==
|
==
|
||||||
@ -6750,7 +6769,7 @@
|
|||||||
(ifix [kel ker] (stag %cltr (most ace wide)))
|
(ifix [kel ker] (stag %cltr (most ace wide)))
|
||||||
::
|
::
|
||||||
++ wot
|
++ wot
|
||||||
(ifix [kel ker] ;~(plug hug luf))
|
(ifix [kel ker] ;~(plug hog luf))
|
||||||
--
|
--
|
||||||
::
|
::
|
||||||
++ scat
|
++ scat
|
||||||
|
@ -4,9 +4,10 @@
|
|||||||
%- give
|
%- give
|
||||||
|= epic
|
|= epic
|
||||||
^- manx
|
^- manx
|
||||||
=+ lim=;li:"second ;{a(href "http://www.urbit.org") "link"} item"
|
=+ lim=;li:"second ;{a/funky."http://www.urbit.org" "link"} item"
|
||||||
=+ lum=;li:"third [owner: {(scow %p own)}] item"
|
=+ lum=;li:"third [owner: {(scow %p own)}] item"
|
||||||
=+ lom=;li:"fourth (;{i "italics"}) item"
|
=+ lom=;li:"fourth (;{i "italics"}) item"
|
||||||
|
=+ bar=;br;
|
||||||
=+ foo=`manx`i/;"foobar"
|
=+ foo=`manx`i/;"foobar"
|
||||||
=+ lam=`(list manx)`[lim lum lom ~]
|
=+ lam=`(list manx)`[lim lum lom ~]
|
||||||
;html
|
;html
|
||||||
@ -15,10 +16,15 @@
|
|||||||
==
|
==
|
||||||
;body
|
;body
|
||||||
;p: Hello, world.
|
;p: Hello, world.
|
||||||
|
;p:"Hello"
|
||||||
|
;- "Goodbye"
|
||||||
|
;+ ;p:"Hello again"
|
||||||
|
;* ~[;p:"One" ;p:"Two" ;p:"Three"]
|
||||||
|
;br;
|
||||||
;p: Behold a <p>aragraph with an embedded {"string"}.
|
;p: Behold a <p>aragraph with an embedded {"string"}.
|
||||||
;p: Or an embedded ;{i "tag"}.
|
;p: Or an embedded ;{i "tag"}.
|
||||||
;p: Or even a *{i/;"list" i/;" of" i/;" tags" ~},
|
;p: Or even a *{;i:"list" ;i:" of" ;i:" tags" ~},
|
||||||
;p: Sometimes %{|*(a=* [i/;"functionally " i/;"applied" a])}.
|
;p: Sometimes %{|*(a=* [;i:"functionally " ;i:"applied" a])}.
|
||||||
;p: It's nice to just be able to use "quotes."
|
;p: It's nice to just be able to use "quotes."
|
||||||
;p
|
;p
|
||||||
; We are also very good at lists:
|
; We are also very good at lists:
|
||||||
|
Loading…
Reference in New Issue
Block a user