File: defs.html

package info (click to toggle)
fonts-inter 4.1%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 55,840 kB
  • sloc: python: 9,184; ansic: 3,776; javascript: 762; makefile: 637; sh: 466; xml: 22
file content (27 lines) | stat: -rw-r--r-- 913 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{%-
assign build_version   = site.time | date: "%Y%m%d%H%M%S" %}{%
assign description     = "Inter is a typeface family" %}{%
assign release_version = site.data.fontinfo[0].version %}{%

capture title %}{% if page.title %}{{ page.title }} — Inter{% else %}Inter font family{% endif %}{% endcapture %}{%

if site.baseurl %}{%
  assign url_root = site.baseurl | append: "/" %}{%
else %}{%
  assign url_root = "/inter/" %}{%
endif %}{%

for file in site.static_files %}{%
  assign _path = file.path | remove_first: "/inter" %}{%
  if _path == "/res/base.css" %}{%
    assign base_css_v = file.modified_time | date: "%Y%m%d%H%M%S" %}{%
  elsif _path == "/res/favicon.png" %}{%
    assign favicon_v = file.modified_time | date: "%Y%m%d%H%M%S" %}{%
  endif %}{%
endfor %}{%

capture download_url
  %}https://github.com/rsms/inter/releases/download/v{{release_version}}/Inter-{{release_version}}.zip{%
endcapture

-%}