Skip to content
Snippets Groups Projects
Unverified Commit 6d86b976 authored by Riccardo Spagni's avatar Riccardo Spagni :speech_balloon:
Browse files

renamed merchant directory

parent 64a9d1df
No related branches found
No related tags found
No related merge requests found
...@@ -46,7 +46,7 @@ module Jekyll ...@@ -46,7 +46,7 @@ module Jekyll
entry = SafeYAML.load_file(entry_file) entry = SafeYAML.load_file(entry_file)
if !entry.empty? if !entry.empty?
@@moneropedia.push({ :terms => entry['terms'], :summary => entry['summary'] }) @@moneropedia.push({ :terms => entry['terms'], :summary => entry['summary'], :file => File.basename(entry_file, ".*") })
end end
end end
end end
...@@ -54,7 +54,7 @@ module Jekyll ...@@ -54,7 +54,7 @@ module Jekyll
# replace instances of @term with tooltips of the summary # replace instances of @term with tooltips of the summary
@@moneropedia.each do |entry| @@moneropedia.each do |entry|
entry[:terms].each do |term| entry[:terms].each do |term|
content = content.gsub(/(\@#{term})\b/i, '<a href="/knowledge-base/moneropedia/' + term + '" data-toggle="tooltip" data-placement="top" data-original-title="' + entry[:summary] + '">' + term + '</a>') content = content.gsub(/(\@#{term})\b/i, '<a href="/knowledge-base/moneropedia/' + entry[:file] + '" data-toggle="tooltip" data-placement="top" data-original-title="' + entry[:summary] + '">' + term + '</a>')
end end
end end
......
...@@ -23,7 +23,7 @@ menu: ...@@ -23,7 +23,7 @@ menu:
running: How to Run a Monero Node running: How to Run a Monero Node
donations: Donating and Sponsorships donations: Donating and Sponsorships
downloads: All Monero Downloads downloads: All Monero Downloads
merchants: Monero Merchant Directory merchants: Merchants and Services Directory
accepting: Accepting Monero Payments accepting: Accepting Monero Payments
about: About Monero about: About Monero
people: The People Behind Monero people: The People Behind Monero
......
--- ---
layout: static_page layout: static_page
title: "Monero Merchant Directory" title: "Monero Merchants and Services Directory"
title-pre-kick: "Monero " title-pre-kick: "Monero "
title-kick: "Merchant " title-kick: "Merchants and Services "
title-post-kick: "Directory" title-post-kick: "Directory"
kick-class: "purple-kicks" kick-class: "purple-kicks"
icon: "icon_merchants" icon: "icon_merchants"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment