odiel
1611476288
Update template.go
...
Adding assets_js, assets_css template functions
2013-12-06 10:36:56 -05:00
Francois
a5b5ae899c
Update template.go
...
We can specify "TemplateLeft" and "TemplateRight" but they did not work as these two changes are required.
2013-11-12 20:22:42 +02:00
astaxie
9446563e5b
add util func to get the url fix #282
...
UrlFor(endpoint string, values ...string) string
2013-11-10 23:05:07 +08:00
astaxie
c6167ef184
fix #260
2013-10-30 23:02:53 +08:00
astaxie
4bcbc588fc
fix #260
2013-10-29 23:11:23 +08:00
astaxie
5f4fe6d868
fix #260
2013-10-29 23:05:48 +08:00
slene
7131dec3af
add go1.2 template funcs eq, ge, gt, le, lt, ne to beego
2013-10-29 22:35:04 +08:00
smithfox
bed0fe2218
fix #217
2013-09-26 18:33:01 +08:00
astaxie
0476da503e
improve template
2013-09-13 17:41:31 +08:00
astaxie
943fe971f1
support template
2013-09-13 13:57:40 +08:00
astaxie
55fe3ba52f
update tempalte's regexp
2013-09-12 18:20:29 +08:00
astaxie
de2dd6e070
update template's testcase
2013-09-12 17:32:11 +08:00
astaxie
ffb347a2bb
support nest template
2013-09-12 17:20:32 +08:00
astaxie
f502f84423
fix #189
2013-09-12 13:44:24 +08:00
astaxie
fd677c45aa
fixed
2013-08-20 14:20:38 +08:00
astaxie
0b74db64eb
fix typo for templateLeft
2013-08-19 13:02:18 +08:00
astaxie
4f538e7fd2
fix #163
...
you can set the delimiter like this
beego.TemplateLeft="{#"
beego.TemplateRight="#}"
or can set the config file like app.ini
templateleft={#
templateright=#}
2013-08-19 10:41:09 +08:00
miraclesu
9e1d5036f7
Add renderform template function
2013-08-10 16:33:46 +08:00
miraclesu
6fbdbaae80
Refactor template
2013-08-01 11:57:29 +08:00
astaxie
259617f68d
remove markdown
2013-07-25 16:40:37 +08:00
astaxie
ab38c2f8e6
add EnableGzip support & delete if views not exist
2013-04-21 00:49:48 +08:00
astaxie
69f40ad18a
add some useful function
...
1. Router
2. SetSession/GetSession/DelSession
3. RenderString
4. str2html/htmlquote/htmlunquote
5. move the template Function to util.go
2013-04-03 23:37:59 +08:00
astaxie
e467a6ed91
fix err
2013-03-21 21:47:19 +08:00
astaxie
d0e171c801
add exist
2013-03-21 21:45:48 +08:00
astaxie
3d47cd0a40
add just wheather the view is a dir
2013-03-21 20:46:54 +08:00
Unknown
63d8881f4d
add func Html2str()
2013-03-21 01:21:04 -04:00
Unknown
73a52c9844
add func Html2str()
2013-03-21 01:18:39 -04:00
Unknown
895ff49a9e
add func html2str()
2013-03-21 01:17:28 -04:00
astaxie
e6ab2f73b6
fix window
2013-03-15 20:37:05 +08:00
astaxie
3c4dd99fbe
fix window's slash
2013-03-15 14:50:56 +08:00
astaxie
b6df895df8
add template func Substr function
2013-03-14 21:47:39 +08:00
astaxie
281747ab43
add BeeTemplateExt
2013-03-14 17:57:09 +08:00
astaxie
3b89071360
add template test and cache module
2013-03-14 00:14:09 +08:00
Jason Lee
36283ae090
Fix a wrong logical for AddFuncMap method.
2013-03-01 14:50:06 +08:00
xiemengjun
1f67fcb0f9
http support pprof and template add date func like php's date function
...
http support pprof
PprofOn set to true you can profile the runtime data.
template add date func like php's date function
{{date "Y-m-d H:i:s"}}
2013-01-01 21:42:16 +08:00
xiemengjun
ad892008cc
修复key字符串bug
2012-12-17 20:37:25 +08:00
xiemengjun
f593c1f3fd
init framwork
2012-12-15 23:53:19 +08:00