from flask import Markup

class Nav:
    def __init__(self, path = ""):
        stringList = list(path)
        
        self.path = "/"+path

    def makeLink(self, path, name):
        active = False
        if path == self.path:
            active = True

        return Markup('<li class="'+('active' if active else '')+'"><a href="'+path+'">'+name+'</a></li>')
18af44554be1929174ff622cc6a222905c8e1e85
<mask token>


class Nav:
    <mask token>
    <mask token>

<mask token>


class Nav:

    def __init__(self, path=''):
        stringList = list(path)
        self.path = '/' + path
    <mask token>

<mask token>


class Nav:

    def __init__(self, path=''):
        stringList = list(path)
        self.path = '/' + path

    def makeLink(self, path, name):
        active = False
        if path == self.path:
            active = True
        return Markup('<li class="' + ('active' if active else '') +
            '"><a href="' + path + '">' + name + '</a></li>')

from flask import Markup


class Nav:

    def __init__(self, path=''):
        stringList = list(path)
        self.path = '/' + path

    def makeLink(self, path, name):
        active = False
        if path == self.path:
            active = True
        return Markup('<li class="' + ('active' if active else '') +
            '"><a href="' + path + '">' + name + '</a></li>')

from flask import Markup

class Nav:
    def __init__(self, path = ""):
        stringList = list(path)
        
        self.path = "/"+path

    def makeLink(self, path, name):
        active = False
        if path == self.path:
            active = True

        return Markup('<li class="'+('active' if active else '')+'"><a href="'+path+'">'+name+'</a></li>')