From cf175efdb161876e6d6f9c271d89922821843d27 Mon Sep 17 00:00:00 2001 From: Chris Chapman Date: Thu, 24 Oct 2019 17:03:38 -0600 Subject: [PATCH] Add turtle representation of personal profile documents for issue #79 --- rules/company.rb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/rules/company.rb b/rules/company.rb index 2cae9bc1..cea4d4c3 100644 --- a/rules/company.rb +++ b/rules/company.rb @@ -58,3 +58,10 @@ filter :vcard, kind: :individual write "/static/company/#{@item.fetch(:slug)}.vcf" end + +compile '/static/people/*/index.erb', rep: :ttl do + filter :erb + layout '/default.*' + filter :rdf_distiller, input: :rdfa, output: :turtle + write ext: '.ttl' +end