<commit_before>+++
author = "author"
date = "2016-03-14T07:06:27Z"
description = "description"
draft = true
keywords = ["key", "words"]
tags = ["one", "two"]
title = "Minor enhancements and fixes"
topics = ["topic 1"]
type = "post"

+++

![enter image description here][1]


  [1]: https://res.cloudinary.com/appernetic/v1457939591/c25ymnmuqsfsmqjkk52b<commit_msg>Update: minor-enhancements-and-fixes.md<commit_after>+++
author = "author"
date = "2016-03-14T07:06:27Z"
description = "description"
draft = true
keywords = ["key", "words"]
tags = ["one", "two"]
title = "Minor enhancements and fixes"
topics = ["topic 1"]
type = "post"

+++

![enter image description here][1]

## Site preview fixes and enhancements
We have been working with the site preview. We had a case of a very sticky cache and this doesn't work well if you immediately would want to check changes. Now it is also possible to view the site preview if you are not signed in, so it is easier to share the URL and collaborate.

## Add a .gitignore to your theme repo
The bug we reported last week wasn't a bug. When you delete a theme, we have git delete everything, and it doesn't delete dot files. The fix is to add a **.gitignore** file to your theme repo and exclude files such as **.DS_Store**. 

This is how it can be done:

```
public/
.sass-cache/
.DS_Store
```

That's all for now, happy static blogging :)

  [1]: https://res.cloudinary.com/appernetic/v1457939591/c25ymnmuqsfsmqjkk52b
{'fraction_non_alphanumeric': 0.12303485987696514, 'fraction_numerical': 0.04237867395762133, 'mean_word_length': 4.462686567164179, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1008', 'n_tokens_mistral': 522, 'n_tokens_neox': 468, 'n_words': 190}