From 6de9de635b8928b1b90de4a128fba3aad990a54b Mon Sep 17 00:00:00 2001 From: John Pignata Date: Mon, 4 Apr 2016 12:29:26 -0400 Subject: [PATCH] Attribute source of contents Adds the URL from which the content was retrieved to the bottom of each content markdown document. --- bin/build-content | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/build-content b/bin/build-content index 300b93a..e233bed 100755 --- a/bin/build-content +++ b/bin/build-content @@ -52,6 +52,7 @@ categories.each do |category, url| File.open("#{CONTENT_DIR}/#{file_name(header)}.txt", "w") do |file| file.write(body) + file.write("\n\nSource: #{url}") end end end