def parse(self, parser):
lineno = next(parser.stream).lineno
# get the first parameter: the relative URL of the asset file
args = [parser.parse_expression()]
return nodes.Output(
[self.call_method('_asset', args)],
lineno=lineno
)
评论列表
文章目录