Skip to content

Commit

Permalink
Meta title update (#1062)
Browse files Browse the repository at this point in the history
* update meta title

* update title

* update title
  • Loading branch information
0x4c6565 authored Dec 8, 2023
1 parent cd7eddd commit 2506683
Show file tree
Hide file tree
Showing 22 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion populator/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

file_type = '.md'
remove_regex = [r'.. (.*?)::']
remove_list = ['eval_rst', ':doc:', '`', '\\ :sup:', ' | UKFast Documentation']
remove_list = ['eval_rst', ':doc:', '`', '\\ :sup:', ' | ANS Documentation']
meta_words = [':title:', ':description:', ':keywords:']

hostname = "elasticsearch"
Expand Down
4 changes: 2 additions & 2 deletions source/_themes/ukf/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
</script>
<meta http-equiv="Content-Type" content="text/html; charset={{ encoding }}" />
{{ metatags }}
<title>{{ title|striptags|e }}{{ titlesuffix }} | UKFast Documentation</title>
<title>{{ title|striptags|e }}{{ titlesuffix }} | ANS Documentation</title>
<link href="{{ pathto('_static/favicon.ico', 1) }}" rel="icon" />

{{ css(css_files) }}
Expand Down Expand Up @@ -249,7 +249,7 @@ <h4 class="modal-title-cookbook" id="modal-header">{# header text injected via j
{%- if pagename == 'index' -%}

<div id="main-menu-container" class="container">
<h1 id="welcome-to-the-ukfast-documentation-centre">Welcome to the UKFast Documentation Centre</h1>
<h1 id="welcome-to-the-ukfast-documentation-centre">Welcome to the ANS Documentation Centre</h1>
<p>For help with UKFast products and services, and guidance with common hosting technology.</p>

<div class="grid-container grid-parent">
Expand Down
2 changes: 1 addition & 1 deletion source/desktop/fastdesk/policies/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ Information regarding the various aspects of FastDesk


.. meta::
:title: FastDesk Handbook | UKFast Documentation
:title: FastDesk Handbook | ANS Documentation
:description: Information regarding various aspects of FastDesk
:keywords: ukfast, backups, windows, Citrix, dr, high, availability, hosting, database, disaster recovery, support, policies, FAQ, incident
2 changes: 1 addition & 1 deletion source/domains/ssl/self_signed_certificates.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ How you configure various pieces of software to use a certificate, either self-s
```eval_rst
.. title:: Self-Signed SSL Certificates
.. meta::
:description: Self-Signed SSL Certificates | UKFast Documentation
:description: Self-Signed SSL Certificates | ANS Documentation
:keywords: ukfast, ssl, self-signed, openssl
```
2 changes: 1 addition & 1 deletion source/dr-ha/fastcloudbackup/alerts.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ To stop receiving alerts, simply untick the relevant box(es).
```eval_rst
.. title:: FASTcloudbackup alerts
.. meta::
:description: FASTcloudbackup alerts | UKFast Documentation
:description: FASTcloudbackup alerts | ANS Documentation
:keywords: ukfast, FASTcloudbackup, alerts
```
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ FASTcloudbackup is based upon Commvault software. That's why in some parts of t
```eval_rst
.. title:: General product information on FASTcloudbackup
.. meta::
:description: General product information on FASTcloudbackup | UKFast Documentation
:description: General product information on FASTcloudbackup | ANS Documentation
:keywords: ukfast, FASTcloudbackup
```
2 changes: 1 addition & 1 deletion source/dr-ha/fastcloudbackup/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ Click into your end user account and then click `Go to FASTcloudbackup web conso
```eval_rst
.. title:: Getting started with FASTcloudbackup
.. meta::
:description: Getting started with FASTcloudbackup | UKFast Documentation
:description: Getting started with FASTcloudbackup | ANS Documentation
:keywords: ukfast, FASTcloudbackup
```
2 changes: 1 addition & 1 deletion source/dr-ha/fastcloudbackup/managing_fastcloudbackup.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ You can check for any devices currently logged in to your FASTcloudbackup end us
```eval_rst
.. title:: Managing FASTcloudbackup
.. meta::
:description: Managing FASTcloudbackup | UKFast Documentation
:description: Managing FASTcloudbackup | ANS Documentation
:keywords: ukfast, FASTcloudbackup
```
2 changes: 1 addition & 1 deletion source/dr-ha/fastcloudbackup/managing_files_and_folders.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ When you want to navigate to a favourite folder, click `Favourites` in the left
```eval_rst
.. title:: Managing files and folders on FASTcloudbackup
.. meta::
:description: Managing files and folders on FASTcloudbackup | UKFast Documentation
:description: Managing files and folders on FASTcloudbackup | ANS Documentation
:keywords: ukfast, FASTcloudbackup
```
2 changes: 1 addition & 1 deletion source/dr-ha/fastcloudbackup/technical_information.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@ FASTcloudbackup agents can be downloaded via the web console, and provide the fu
```eval_rst
.. title:: Technical information on FASTcloudbackup
.. meta::
:description: Technical information on FASTcloudbackup | UKFast Documentation
:description: Technical information on FASTcloudbackup | ANS Documentation
:keywords: ukfast, FASTcloudbackup
```
2 changes: 1 addition & 1 deletion source/dr-ha/techniques/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ Various techniques for backing up different operating systems and programs.


.. meta::
:title: Backup techniques | UKFast Documentation
:title: Backup techniques | ANS Documentation
:description: Information regarding backup techniques for various operating systems and programs
:keywords: ukfast, backups, windows, linux, dr, high, availability, hosting, database, disaster recovery
2 changes: 1 addition & 1 deletion source/dr-ha/terms/file_level.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ For Windows servers, by default this utilises VSS to access and backup files tha
```eval_rst
.. title:: File Level Backups
.. meta::
:description: File Level Backups | UKFast Documentation
:description: File Level Backups | ANS Documentation
:keywords: ukfast, backups, terminology, commvault, bacula, dpm
```
2 changes: 1 addition & 1 deletion source/ecloud/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ UKFast offers a number of cloud hosting platforms, including public cloud (eClou
console
ecloud-vpc/index

.. title:: Cloud hosting from UKFast | UKFast Documentation
.. title:: Cloud hosting from UKFast | ANS Documentation

.. meta::
:description: Information regarding the different cloud hosting platforms from UKFast
Expand Down
2 changes: 1 addition & 1 deletion source/operatingsystems/linux/mysql/mysql_ssh_tunneling.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ We've covered a couple of different ways of connecting to MySQL using SSH tunnel
```eval_rst
.. title:: Connecting to MySQL via SSH Tunnelling
.. meta::
:title: Connecting to MySQL via SSH Tunnelling| UKFast Documentation
:title: Connecting to MySQL via SSH Tunnelling| ANS Documentation
:description: A guide on how to connect to a MySQL instance through an SSH tunnel.
:keywords: ukfast, linux, mysql, ssh, database, security, cloud, server, virtual
```
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ You should now be presented with the shared drive in "This-PC" or "My Computer",
![Mounted](files/networkdrive/mounted.PNG)

```eval_rst
.. title:: Mapping a network drive on Windows| UKFast Documentation
.. title:: Mapping a network drive on Windows| ANS Documentation
.. meta::
:title: Mapping a network drive on Windows| UKFast Documentation
:title: Mapping a network drive on Windows| ANS Documentation
:description: A simple guide to mapping a network drive on Windows
:keywords: ukfast, windows, network, mapping, drive, share, cloud, server, microsoft
2 changes: 1 addition & 1 deletion source/security/ddos/global_restrictions.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ If you are having issues with the file extensions or the Request Content-Type yo
![Advanced Whitelist Global Restriction](files/global_restriction_whitelist.PNG)

```eval_rst
.. title:: Global Restrictions on SafeDNS™ and DDoSX® | UKFast Documentation
.. title:: Global Restrictions on SafeDNS™ and DDoSX® | ANS Documentation
.. meta::
:description: Global Restrictions applied on SafeDNS™ and DDoSX® security
:keywords: restrictions, ddosx, safedns, blocked, denied, 403, forbidden
Expand Down
2 changes: 1 addition & 1 deletion source/security/ddos/http_req_resp_headers.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ This header is used for diagnostic reasons by our Support team and is used to tr


```eval_rst
.. title:: DDoSX® HTTP Request and Response Headers | UKFast Documentation
.. title:: DDoSX® HTTP Request and Response Headers | ANS Documentation
.. meta::
:description: HTTP request and response headers DDoSX® will add to your requests.
:keywords: http, ddosx, headers, client ip, geo location, request, response, geoip, geo ip
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ We can use the following to block multiple user agents, separating each with a `

```eval_rst
.. meta::
:title: Blocking User Agents| UKFast Documentation
:title: Blocking User Agents| ANS Documentation
:description: Useful threat remediation and prevention tips
:keywords: threat monitoring, alerts, security, compliance, rules, rulesets, UKFast, hosting, file integrity monitoring, rootkit, detection, vulnerability scan, scans, HIDS, intrusion detection, set up
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.. meta::
:title: Scans and Reconnaissance| UKFast Documentation
:title: Scans and Reconnaissance| ANS Documentation
:description: Guidance on Threat Monitoring and Threat Response solutions from UKFast
:keywords: security, threat, monitoring, response, alerts, blocking, hacking, ransomware, protection

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.. meta::
:title: Windows| UKFast Documentation
:title: Windows| ANS Documentation
:description: Guidance on Threat Monitoring and Threat Response solutions from UKFast
:keywords: security, threat, monitoring, response, alerts, blocking, hacking, ransomware, protection

Expand Down
2 changes: 1 addition & 1 deletion source/webcel/queue/admin.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ The following items can be configured:

```eval_rst
.. meta::
:title: Managing your Webcelerator queue| UKFast Documentation
:title: Managing your Webcelerator queue| ANS Documentation
:description: How to administer your Webcelerator queue system
:keywords: ukfast, webcel, webcelerator, queue, webcelerate queue admin, traffic, high load
```
2 changes: 1 addition & 1 deletion tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ for f in $file_names; do
fi

title_size=$(grep '\.\. title:' $f | cut -d ':' -f2 | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//' | wc -m)
#Meta title should exclude | UKFast Documentation
#Meta title should exclude | ANS Documentation
if [[ "$title_size" -gt "43" ]]; then
log warn $f "Meta title is $title_size - Max is 42 chars"
fi
Expand Down

0 comments on commit 2506683

Please sign in to comment.