Skip to main content

Creating static pages on Blogger

As part of the process of obtaining an AdSense account for the blog I need to create some static pages to hold housekeeping information.

Fortunately Blogger already has this function in hand with 'Add pages to your blog'. The pages can contain whatever you want and Google isn't stingy about how many you can have, allowing the creation of an unlimited number of pages.

There are two steps to adding pages to a blog; creating them and adding links to them to the blog. But before we start here is the current layout of the blog,


It is pretty minimal, and that is OK. With a small title and a link to a search function at the top; and three links to the side, one for a drop-down that gives access to the archive of posts, one to the set of labels that I experimented with in a previous post and one to Report abuse, which goes off to Blogger not me. There is a mix of fonts which I hadn't noticed before, but that is a problem for another day.

The first task, then, is to create some placeholder pages. Selecting the Pages tab on the Blogger menu returns a blank screen informing us that There are no pages.

For the AdSense application process we need to create three static pages titled, About, Contact and Privacy. Hitting + NEW PAGE at the top of the menu of Blogger tabs will move you into the editor, where all the familiar content creation tools and options are present.

As with posts you have the option to Preview, Save or Publish pages at this point. However publication is required before you can add links to them on the blog. As I am not concerned with the content of the pages I'll move onto sorting how they are displayed on the front of the blog once you have the content for them.

So, off to another of Blogger's tabs, the Layout tab,

Blogger uses what it calls Gadgets to control how or whether certain types of information are presented on a blog. Some are optional, some are not (being part of the theme); most of the non-optional ones can be made invisible, but some can't (do you really want a blog with no posts?).

As we want to put links to our newly created pages onto the blog, select Add a Gadget from the Sidebar pane and choose Pages from the list that is displayed in the pop-up window,

or in the case of the theme that the blog is using (Notable Light) the Pages Gadget is already present underneath the Header but set as not visible (circled in red on the first picture of the Layout tab above).

Either way, once you have it on the layout, clicking on the pen icon of the Pages Gadget will open its' dialog box.

Here you can select which Pages to show and choose the List Order of the pages. Using a Title will allow the pages to be grouped together and multiple instances of the Pages gadget can be added to a blog giving a series of lists of pages, each of which can be grouped under their own title.

Once you tick the Show Pages checkbox and select Save the dialog will close and you will be returned to the Layout screen where you can preview your changes.


The effect of the alterations (ie adding the pages and making the gadget visible) is to add a tidy little group under the blog title. By adding another copy of the gadget to the Sidebar pane and making the first copy invisible I could have the list on the side rather than the top,


which looks better, but for some reason the font has changed. If you try dragging the Pages Gadget from the Sidebar pane to the Footer pane you get this instead.

Not good. Of course it should be possible to alter the fonts and positions of these elements but that means diving into the code for the theme of the blog (all 4,000 lines of it) and this is more detail than I want to tackle for now. So instead I'll put up with the font being not quite right and have the links on the sidebar.

As I'm providing contact details one other thing I can do is make the Report Abuse gadget invisible (as it is a non-optional Gadget on this Theme) by unticking the Show Report abuse checkbox.

For optional Gadgets taking them off a page is just a matter of hitting Remove in their dialog box.
Once your changes have been made and you are happy with the previewed result you can hit Save and the alterations to the layout will be made live.

Done.

Comments

Popular posts from this blog

Getting moving with Grocy

Now we have Grocy working , even if in skeletal form, the next hurdle is to cut the tie to the PC and go mobile. The advantages of being able to update stock levels on the hoof are obvious. All consume and purchase operations can be done at the point of use without the need to make notes and mark these up later. Inventorying can be performed at the storage location rather than dragging everything to the computer or more note making. What is needed, therefore, is mobile access to Grocy via a smartphone or tablet. There are multiple ways to achieve this. Web Browser The first and simplest method is to use the web browser on your device. Although, at least with Android devices, the browser is slightly finnicky about which address it will accept for the Home Assistant (HA) server. Using the standard homeassistant.local:8123 address results in an error message ' This site can't be reached DNS_PROBE_FINISHED_NXDOMAIN. ' There appear to be known problems with Android phones ...

How-to: Setting up a Blogger account with a non-Google e-mail address

As I've set up an e-mail address for the blog it makes sense to be able to post from it too. To do that I will need to set up an account with Blogger for the new e-mail address. At the same time I'll create a gmail account to both manage the blog and give access to the Google apps suite without the monthly fee. Skullcinema@gmail.com is already taken (as there is nothing new under the sun), but I can take a related e-mail address. I won't publish it here as the first address will generate enough spam as it is. Setting up a gmail account really doesn't require a guide, but it is covered here if you need one. So, off to set up an account  through Blogger . First of all though, log out of Google and/or Chrome or it will pull you straight through to Blogger on the account you are logged in on. Choose SIGN IN in the top right-hand corner of the Blogger home page, and then select  Use another account underneath the list of your current Google accounts. Now ...

Getting to grips with Grocy

After only a few hiccoughs along the way we are entering the final stage of the Grocy set-up procedure. Getting barcode scanning working should markedly streamline the process of dealing with products. As this was a test of the Grocy system it was definite that I was going to use the camera on my phone as a barcode scanner. But there are options around this choice if everything works as required and the system progresses into an installation phase. Although use of a phone camera is by far the simplest method of capturing barcodes, it is not the one suggested by Grocy's creator, Bernd Bestel . He recommends the use of a dedicated barcode scanner. These days they are not that expensive and a basic wired model can be found for as low as £12. Not that I think that this is a good idea unless you want to lose the mobility that we have just set up . For twice the price (still not that much if you are using Grocy routinely) you can get a wireless version, which should retain your freedo...