diff --git a/app/init.go b/app/init.go index 65197cc..8cdba7f 100644 --- a/app/init.go +++ b/app/init.go @@ -86,6 +86,7 @@ func init() { //__________________________________________________________________________ aah.AddTemplateFunc(template.FuncMap{ "docurlc": util.TmplDocURLc, + "docurl": util.TmplRDocURL, "docediturl": util.TmplDocEditURL, "absrequrl": util.TmplAbsReqURL, "vergteq": util.TmplVerGtEq, diff --git a/app/util/doc.go b/app/util/doc.go index ec76315..79af278 100644 --- a/app/util/doc.go +++ b/app/util/doc.go @@ -164,6 +164,11 @@ func TmplDocURLc(viewArgs map[string]interface{}, key string) template.HTML { return template.HTML(fmt.Sprintf("/%s/%s", version, fileName)) } +// TmplRDocURL method returns the doc relative url with give prefix. +func TmplRDocURL(rootPrefix template.URL, key string) template.URL { + return template.URL(fmt.Sprintf("%s%s/%s", string(rootPrefix), releases[0], aah.AppConfig().StringDefault(key, ""))) +} + // TmplDocEditURL method compose github documentation edit URL func TmplDocEditURL(docFile string) template.URL { var pattern string diff --git a/config/aah.conf b/config/aah.conf index d97b465..ea8f471 100644 --- a/config/aah.conf +++ b/config/aah.conf @@ -139,7 +139,7 @@ link { github = "https://github.com/go-aah/aah" github_org = "https://github.com/go-aah" twitter = "https://twitter.com/aahframework" - stackoverflow = "https://stackoverflow.com/questions/tagged/aahframework" + stackoverflow = "https://stackoverflow.com/questions/tagged/aah" mailling_list = "https://groups.google.com/forum/#!forum/aahframework" mailling_list_security = "https://groups.google.com/forum/#!forum/aahframework-security" gitter = "https://gitter.im/aahframework/community" diff --git a/static/css/aah.css b/static/css/aah.css index 289f843..c4597ad 100644 --- a/static/css/aah.css +++ b/static/css/aah.css @@ -885,6 +885,10 @@ pre, code { margin-top: 75px; } +.ft-16em { + font-size: 1.6em !important; +} + .footer { margin-top: 70px; font-size: 13px; diff --git a/views/pages/site/features.html b/views/pages/site/features.html index 1e25b30..809abce 100644 --- a/views/pages/site/features.html +++ b/views/pages/site/features.html @@ -89,8 +89,8 @@
aah supports real-time application architecture.
RESTful or Render with your choice of view engine - Enhanced Go, Pug (Jade), many more to come.
+RESTful or Render with your choice of view engine - Enhanced Go template, many more to come.
build uncompromised security into your application
aah is a security aware framework and its easy to use. It was inspired by Apache Shiro security library.
+aah is a security aware framework. Enterprise-grade features and easy to use.
aah takes security very seriously, you’re welcome to do peer review of aah’s 100% open source code to ensure nobody’s aah application is ever compromised or hacked. As an application developer you’re responsible for any security breaches. I do my best to make sure aah application is as secure as possible.
Powerful security feature yet easy to use with application code base and view files.
+Powerful security feature yet easy to use with application code base and view files. It is inspired by Apache Shiro security library.
Learn more about Security - Terminology, Security - Design, Authentication, Authorization
+