<commit_before>---
layout: default
---
<div class="page-head darkgreybg">
  <h1 class="center white">Blog</h1>
  <p class="center white">Using Shopify to manage Ruffians blog</p>
</div>
<div class="clear"></div>

<div class="section double-padding-top half-padding-bottom whitebg fullwidth padding-side">
  <h3>After the import</h3>
  <p>As we imported all the content from WordPress, the importer stripped all the formatting from the content. This means that if we were publish them in their current state, they'd appear in Times New Roman (the browser default font), with no space between paragraphs, as well as around images. It also didn't select a featured image.</p>
  <p>Currently, every blog post, bar three, are hidden. This means that they can only be accessed via the Shopify admin. Here's some steps to get these formatted and re-pubslished:</p>
</div>

<div class="section half-padding-top half-padding-bottom bluebg fullwidth padding-side">
  <h3 class="quater-padding white">Step 1</h3>
</div>
<div class="section half-padding-top half-padding-bottom whitebg fullwidth padding-side">
  <p>Head to "Online Store" &rarr; "Blog Posts" (or click <a href="https://ruffians.myshopify.com/admin/articles">here)</a></p>
</div>

<div class="section half-padding-top half-padding-bottom bluebg fullwidth padding-side">
  <h3 class="quater-padding white">Step 2</h3>
</div>
<div class="section half-padding-top half-padding-bottom whitebg fullwidth padding-side">
  <p>From here, you can select to either edit an existing article, or create a new one.</p>
  <p>To edit an existing article, click on the title of the article you want to eidt. You can filter, so show only articles of a certain status (e.g. hidden), or search for the title of an article.</p>
  <p>To create a new article, click on the blue "Add Blog Post" button in the top right of the screen.</p>
</div><commit_msg>Update blog.html<commit_after>---
layout: default
---
<div class="page-head darkgreybg">
  <h1 class="center white">Blog</h1>
  <p class="center white">Using Shopify to manage Ruffians blog</p>
</div>
<div class="clear"></div>

<div class="section half-padding-top half-padding-bottom whitebg fullwidth padding-side">
  <h3>After the import</h3>
  <p>As we imported all the content from WordPress, the importer stripped all the formatting from the content. This means that if we were publish them in their current state, they'd appear in Times New Roman (the browser default font), with no space between paragraphs, as well as around images. It also didn't select a featured image.</p>
  <p>Currently, every blog post, bar three, are hidden. This means that they can only be accessed via the Shopify admin. Here's some steps to get these formatted and re-pubslished:</p>
</div>

<div class="section half-padding-top half-padding-bottom bluebg fullwidth padding-side">
  <h3 class="quater-padding white">Step 1</h3>
</div>
<div class="section half-padding-top half-padding-bottom whitebg fullwidth padding-side">
  <p>Head to "Online Store" &rarr; "Blog Posts" (or click <a href="https://ruffians.myshopify.com/admin/articles">here)</a></p>
</div>

<div class="section half-padding-top half-padding-bottom bluebg fullwidth padding-side">
  <h3 class="quater-padding white">Step 2</h3>
</div>
<div class="section half-padding-top half-padding-bottom whitebg fullwidth padding-side">
  <p>From here, you can select to either edit an existing article, or create a new one.</p>
  <p>To edit an existing article, click on the title of the article you want to eidt. You can filter, so show only articles of a certain status (e.g. hidden), or search for the title of an article.</p>
  <p>To create a new article, click on the blue "Add Blog Post" button in the top right of the screen.</p>
</div>

<div class="section half-padding-top half-padding-bottom bluebg fullwidth padding-side">
  <h3 class="quater-padding white">Step 3</h3>
</div>
<div class="section half-padding-top half-padding-bottom whitebg fullwidth padding-side">
  <p>Select or edit the blog post title, and write the content. The editor on this page works the same as when you're editing a product, or a page on the website. You can also upload media (images, videos etc.) to embed in the post.</p>
  <p>If the content has been imported, you'll need to highlight it, and apply the paragraph formatting (look for the "A &#9660;" button in the top left of the editor). You may need to head into the HTML view ("< >" button) to tidy this up, as it sometimes doesn't create paragraphs either side of an image.</p>
</div>

<div class="section half-padding-top half-padding-bottom bluebg fullwidth padding-side">
  <h3 class="quater-padding white">Step 4</h3>
</div>
<div class="section half-padding-top half-padding-bottom whitebg fullwidth padding-side">
  <p>Add a featured image. This should be square, so that it matches the rest of the images on the site. At this point, if the post is imported from the old blog, you should take a look at the comments section at the bottom, and approve any old comments you may want displayed on the site.</p>
</div>

<div class="section half-padding-top half-padding-bottom bluebg fullwidth padding-side">
  <h3 class="quater-padding white">Step 5</h3>
</div>
<div class="section half-padding-top half-padding-bottom whitebg fullwidth padding-side">
  <p>Select a publishing date (if it's not to be published immeadiately, or if it's from the past), and change the visibility to "visible".</p>
</div>

<div class="section half-padding-top half-padding-bottom bluebg fullwidth padding-side">
  <h3 class="quater-padding white">Step 6</h3>
</div>
<div class="section half-padding-top half-padding-bottom whitebg fullwidth padding-side">
  <p>Click the blue "Save" button in the top right to save any changes.</p>
</div>
{'fraction_non_alphanumeric': 0.1125667988277883, 'fraction_numerical': 0.006205826581623858, 'mean_word_length': 4.573487031700288, 'pattern_counts': {'":': 0, '<': 114, '<?xml version=': 0, '>': 114, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3711237', 'n_tokens_mistral': 1728, 'n_tokens_neox': 1680, 'n_words': 750}