mirror of
https://github.com/actix/actix-website
synced 2025-06-29 16:24:58 +02:00
Updates Rust Version to be shortcode.
This commit is contained in:
5
layouts/shortcodes/rust-version.html
Normal file
5
layouts/shortcodes/rust-version.html
Normal file
@ -0,0 +1,5 @@
|
||||
{{- if eq (.Get 0) "actix" -}}
|
||||
{{- .Page.Site.Params.actixMinRustVersion -}}
|
||||
{{- else if eq (.Get 0) "actix-web" -}}
|
||||
{{- .Page.Site.Params.actixWebMinRustVersion -}}
|
||||
{{- end -}}
|
Reference in New Issue
Block a user