from django.shortcuts import render

from . import util


def index(request):
    return render(request, "encyclopedia/index.html", {
        "entries": util.list_entries()
    })

def getEntry(request, name):
    return render(request, f"encyclopedia/{name}.html"), {
        "entries": util.get_entry(f"{name}.md")
    }


33f48169dc7bccabec10777862b4ec26e080b0fc
<mask token>

<mask token>


def index(request):
    return render(request, 'encyclopedia/index.html', {'entries': util.
        list_entries()})


<mask token>

<mask token>


def index(request):
    return render(request, 'encyclopedia/index.html', {'entries': util.
        list_entries()})


def getEntry(request, name):
    return render(request, f'encyclopedia/{name}.html'), {'entries': util.
        get_entry(f'{name}.md')}

from django.shortcuts import render
from . import util


def index(request):
    return render(request, 'encyclopedia/index.html', {'entries': util.
        list_entries()})


def getEntry(request, name):
    return render(request, f'encyclopedia/{name}.html'), {'entries': util.
        get_entry(f'{name}.md')}

from django.shortcuts import render

from . import util


def index(request):
    return render(request, "encyclopedia/index.html", {
        "entries": util.list_entries()
    })

def getEntry(request, name):
    return render(request, f"encyclopedia/{name}.html"), {
        "entries": util.get_entry(f"{name}.md")
    }

