mirror of
https://github.com/MISP/misp-galaxy.git
synced 2024-11-26 16:57:18 +00:00
Add meaningful infobox
This commit is contained in:
parent
9a5f8a3bfc
commit
d5b6cfbe7c
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ def asciidoc(content=False, adoc=None, t='title',title=''):
|
|||
if t == 'title':
|
||||
output = '== ' + content
|
||||
elif t == 'info':
|
||||
output = "\n{}.\n\n{} {}\n".format(content, 'NOTE: ', title)
|
||||
output = "\n{}.\n\n{} {} {}{}.json[*this location*] {}.\n".format(content, 'NOTE: ', title, 'is a cluster galaxy available in JSON format at https://github.com/MISP/misp-galaxy/blob/master/clusters/',title.lower(),' The JSON format can be freely reused in your application or automatically enabled in https://www.github.com/MISP/MISP[MISP].')
|
||||
elif t == 'author':
|
||||
output = '\nauthors:: {}\n'.format(' - '.join(content))
|
||||
elif t == 'value':
|
||||
|
|
Loading…
Reference in a new issue