| 
								
								
									 wxiaoguang | a370efc13f | Use template context function for avatar rendering (#26385) Introduce `AvatarUtils`, no need to pass `$.Context` to every
sub-template, and simplify the template helper functions. | 2023-08-10 11:19:39 +08:00 |  | 
				
					
						| 
								
								
									 wxiaoguang | 78b2a1cc36 | Remove unnecessary template helper repoAvatar (#26387) And simplify the "repo/icon" code | 2023-08-08 15:29:35 +08:00 |  | 
				
					
						| 
								
								
									 silverwind | 88f835192d | Replace interface{}withany(#25686)Result of running `perl -p -i -e 's#interface\{\}#any#g' **/*` and `make fmt`.
Basically the same [as golang did](2580d0e08d). | 2023-07-04 18:36:08 +00:00 |  | 
				
					
						| 
								
								
									 wxiaoguang | 241b74f6c5 | Improve template helper (#24417) It seems that we really need the "context function" soon. So we should
clean up the helper functions first.
Major changes:
* Improve StringUtils and add JsonUtils
* Remove one-time-use helper functions like CompareLink
* Move other code (no change) to util_avatar/util_render/util_misc (no
need to propose changes for them)
I have tested the changed templates:




---------
Co-authored-by: Giteabot <teabot@gitea.io> | 2023-04-29 08:02:29 -04:00 |  |