mirror of
https://github.com/monero-project/monero-site.git
synced 2024-12-12 19:36:33 +02:00
renamed merchant directory
This commit is contained in:
parent
64a9d1df43
commit
6d86b976e8
@ -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
|
|||||||
# 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:
|
|||||||
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
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
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"
|
||||||
|
Loading…
Reference in New Issue
Block a user