# Porting posts between themes?

**URL:** <https://discourse.gohugo.io/t/porting-posts-between-themes/35455>\
**Category:** support\
**Created:** [November 5, 2021, 12:12pm UTC](https://discourse.gohugo.io/t/porting-posts-between-themes/35455 "2021-11-05T12:12:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![WiredFire](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/wiredfire/32/15520_2.png) [@WiredFire](https://discourse.gohugo.io/u/WiredFire)\
**Post date:** [November 5, 2021, 12:12pm UTC](https://discourse.gohugo.io/t/porting-posts-between-themes/35455/1 "2021-11-05T12:12:27Z")

</div>

Hi,  
I’m new to Hugo, but am trialling it for a personal site hosted on Netlify. Locally I’m running Hugo v.0.88.1 on Windows 10.

I’m currently using the [Future Imperfect theme](https://github.com/jpescador/hugo-future-imperfect), but I’m not sure it’s _quite_ right for me so was trying out some other themes. As an example I tried [Newsroom](https://github.com/onweru/newsroom) then moved my blog post markdown files into the appropriate directory. I got errors when trying to build the site which I determined were down to differences in how Future Imperfect and Newsroom expect image details to be handled in the markdown of posts:

Future Imperfect example:

```auto
+++
title = "Rich Content"
description = "A brief description of Hugo Shortcodes"
author = "Hugo Authors"
date = "2019-03-10"
tags = ["shortcodes", "privacy"]
[[images]]
  src = "img/main/logo.jpg"
  alt = "Fox"
  stretch = "Vertical"
+++

```

Newsroom example:

```auto
+++
title = "(Hu)go Template Primer"
description = ""
tags = ["go", "golang", "templates", "themes", "development",]
date = "2014-04-02"
categories = ["Development", "golang",]
image = "artist.jpg"
+++

```

Newsroom also seems to have layout issues when `<!--more-->` is used.

Is there a way to ensure content written can be ported between themes, and ensure that the content is robust in the long term?

---

<div class="post-metadata">

**Author:** ![alexandros](https://avatars.discourse-cdn.com/v4/letter/a/ecc23a/32.png) [@alexandros](https://discourse.gohugo.io/u/alexandros)\
**Post date:** [November 5, 2021, 4:32pm UTC](https://discourse.gohugo.io/t/porting-posts-between-themes/35455/2 "2021-11-05T16:32:03Z")

</div>

> [@WiredFire](#):
>
> Is there a way to ensure content written can be ported between themes, and ensure that the content is robust in the long term?

Each theme depends on a different set of front matter parameters.  
A theme is organized at the author’s discretion.

So when switching themes one might have to perform a bit of mass editing.  
Typically a regular Expression search and replace in a good editor should make the process easier.

---

<div class="post-metadata">

**Author:** ![WiredFire](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/wiredfire/32/15520_2.png) [@WiredFire](https://discourse.gohugo.io/u/WiredFire)\
**Post date:** [November 5, 2021, 5:38pm UTC](https://discourse.gohugo.io/t/porting-posts-between-themes/35455/3 "2021-11-05T17:38:10Z")

</div>

I was suspecting that might be the case. Guess I’ll brush up on my regex then! Many thanks for the answer, I appreciate it.

---

<div class="post-metadata">

**Author:** ![system](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/system/32/1_2.png) [@system](https://discourse.gohugo.io/u/system)\
**Post date:** [November 7, 2021, 5:39pm UTC](https://discourse.gohugo.io/t/porting-posts-between-themes/35455/4 "2021-11-07T17:39:07Z")

</div>

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
