It's time to write our templates. First, let's create a template directory using the following command lines:
(videos-venv) $ cd decentralized_videos(videos-venv) $ mkdir -p videos/templates/videos
Then, we create our base layout first using the following lines of HTML. This is the layout that will be used by all our templates. The file is located in videos/templates/videos/base.html. You can refer to the code file at the following GitLab link for the full code: https://gitlab.com/arjunaskykok/hands-on-blockchain-for-python-developers/blob/master/chapter_12/decentralized_videos/videos/templates/videos/base.html:
<!DOCTYPE html><html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> ...