From 357497d43362892a073f2a2a1bcaef84ef57967c Mon Sep 17 00:00:00 2001 From: Rasmus Andersson Date: Sun, 3 Feb 2019 19:15:12 -0800 Subject: website: misc updates with added samples --- docs/_includes/preload-font-files.html | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'docs/_includes/preload-font-files.html') diff --git a/docs/_includes/preload-font-files.html b/docs/_includes/preload-font-files.html index 041624df6..d30007d12 100644 --- a/docs/_includes/preload-font-files.html +++ b/docs/_includes/preload-font-files.html @@ -3,7 +3,14 @@ capture url_root %}{% if site.safe == false %}/{% else %}/inter/{% endif %}{% -endcapture +endcapture %}{% -%} - \ No newline at end of file +for file in site.static_files %}{% + assign _path = file.path | remove_first: "/inter" %}{% + if _path == "/font-files/Inter-Regular.woff2" %}{% + assign font_v = file.modified_time | date: "%Y%m%d%H%M%S" %}{% + endif %}{% +endfor + +%} + \ No newline at end of file -- cgit v1.2.3