Browse Source

bugfix

pull/3841/head
timlai 9 months ago
parent
commit
e64b7a3d66
  1. 2
      gulpfile.js
  2. 5
      src/SSCMS.Core/Utils/Serialization/Atom/Atom.Utils/DefaultValues.cs

2
gulpfile.js

@ -46,6 +46,8 @@ function transform(file, html) {
content = content.replace(matches[0][0], '');
styles = matches[0][1] + styles;
}
styles = styles.replace('@@media ', '@media ');
let scripts = '';
matches = [...content.matchAll(/@section Scripts{([\s\S]+?)}/gi)];
if (matches && matches[0]){

5
src/SSCMS.Core/Utils/Serialization/Atom/Atom.Utils/DefaultValues.cs

@ -42,11 +42,8 @@ namespace SSCMS.Core.Utils.Serialization.Atom.Atom.Utils
/// <summary>
/// Contains default values for Atom feeds.
/// </summary>
[Serializable]
public sealed class DefaultValues
public static class DefaultValues
{
private DefaultValues() { }
internal const string GeneratorName = "Atom.NET";
internal static readonly Uri GeneratorUri = new Uri(Constants.OfficialHost);
internal const string GeneratorMessage = "Generated by SSCMS";

Loading…
Cancel
Save