$def with (page=None,nombre=None,iconos=None)
<!DOCTYPE html>
<html lang="en">

<head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>$:nombre</title>
    <!-- Bootstrap Core CSS -->
    <link href="/static/css/bootstrap.min.css" rel="stylesheet">

    <!-- Custom CSS -->
    <style>
    body {
        padding-top: 70px;
        /* Required padding for .navbar-fixed-top. Remove if using .navbar-static-top. Change if height of navigation changes. */
    }
    </style>

    <!--Font-Awsome-->
    <link rel="stylesheet" href="/static/css/font-awesome.min.css">
    <!--Custom CSS-->
	
	
    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
        <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->

</head>

<body>

    <!-- Navigation -->
    <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
        <div class="container">
            <!-- Brand and toggle get grouped for better mobile display -->
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="#">Copa América Programación USM</a>
            </div>
            <!-- Collect the nav links, forms, and other content for toggling -->
            <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav">
                $if page=="index":
                    <li class="active">
                $else:
                    <li>
                <a href="/"><i class="fa $:iconos['home'] fa-2x pull-left"></i> Home</a></li>
                $if page=="equipos":
                    <li class="active">
                $else:
                    <li>
                <a href="/equipos/"> Equipos</a></li>
                $if page=="partidos":
                    <li class="active">
                $else:
                    <li>
                <a href="/partidos/"> Partidos</a></li>
                $if page=="resultados":
                    <li class="active">
                $else:
                    <li>
                <a href="/resultados/"> Resultados</a></li>
                $if page=="marcador":
                    <li class="active">
                $else:
                    <li>
                <a href="/marcador/"> Marcador</a></li>
                $if page=="cuartos_de_final":
                    <li class="active">
                $else:
                    <li>
                <a href="/cuartos_de_final/"> Cuartos de Final</a></li>
                $if page=="semi_final":
                    <li class="active">
                $else:
                    <li>
                <a href="/semi_final/"> Semi Final</a></li>

                $if page=="final":
                    <li class="active">
                $else:
                    <li>
                <a href="/final/">Final</a></li>
           


            </ul>
        </div><!-- /.navbar-collapse -->
    </nav>