# 薄荷主题

**URL:** https://meta.discourse.org/t/mint-theme/202822
**Category:** Theme
**Tags:** official, mint-theme
**Created:** [2021年九月7日 12:06 UTC](https://meta.discourse.org/t/mint-theme/202822 "2021-09-07T12:06:24Z")
**Posts on this page:** 1
**Showing post:** 70

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [2025年十二月6日 11:24 UTC](https://meta.discourse.org/t/mint-theme/202822/70 "2025-12-06T11:24:41Z")

</div>

`.discourse-compatibility` 文件中是否有相应的条目可以阻止您在没有所需的 Discourse 版本的情况下更新主题？否则，添加此条目可能会很有用。

> [@Pinning plugin and theme versions for older Discourse installs (.discourse-compatibility)](https://meta.discourse.org/t/pinning-plugin-and-theme-versions-for-older-discourse-installs-discourse-compatibility/272665):
>
> open_book Background Sometimes themes/plugins need to make changes which are only compatible with the latest version of Discourse. In that situation, older versions of Discourse can be instructed to use an older ‘pinned’ version of the plugin. This is achieved using a .discourse-compatibility file in the root of a theme/plugin repository. It’s a YAML file where keys specify the Discourse core version, and the values represent the associated version of your theme/plugin. Discourse core versio…

我猜基于新版本的命名，现在有了一些新的东西。🤔

---

_[View the full topic](https://meta.discourse.org/t/mint-theme/202822)._
