Blogger : How to modify Pages widget / gadget for mobile template

When you want to add some external links to your sidebar for your Blogger website, you can use the Pages widget/gadget for that purpose. The problem with this gadget is the way it is displayed for mobile devices. It is displayed as a dropdown menu containing the links, which might not be what you want. In this article, I will show you how to modify the template code for the Pages gadget, so that it is displayed the same way as in the desktop version.