summaryrefslogtreecommitdiff
path: root/_includes/snippets/get-lang.html
blob: 028c52a572503fb87c20ed8d70887a6172d2f3c6 (plain)
1
2
3
4
5
6
{%- assign __return = site.data.variables.default.lang -%}
{%- if page.lang -%}
  {%- assign __return = page.lang -%}
{%- elsif site.lang -%}
  {%- assign __return = site.lang -%}
{%- endif -%}