diff --git a/AssemblyVersion.cs b/AssemblyVersion.cs index a231676..aee7128 100644 --- a/AssemblyVersion.cs +++ b/AssemblyVersion.cs @@ -16,5 +16,5 @@ using System.Reflection; // // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("3.0.4.563")] -[assembly: AssemblyFileVersion("3.0.4.563")] \ No newline at end of file +[assembly: AssemblyVersion("3.0.4.564")] +[assembly: AssemblyFileVersion("3.0.4.564")] \ No newline at end of file diff --git a/Core/Tools.cs b/Core/Tools.cs index a08b452..1b57135 100644 --- a/Core/Tools.cs +++ b/Core/Tools.cs @@ -30,6 +30,8 @@ namespace ScrewTurn.Wiki { StringBuilder result = new StringBuilder(300); + result.Append(GetJavaScriptIncludes()); + string[] css = Directory.GetFiles(Settings.ThemesDirectory + theme, "*.css"); string firstChunk; for(int i = 0; i < css.Length; i++) { @@ -80,8 +82,6 @@ namespace ScrewTurn.Wiki { result.Append(@""" />" + "\n"); } - result.Append(GetJavaScriptIncludes()); - // Include HTML Head result.Append(Settings.Provider.GetMetaDataItem(MetaDataItem.HtmlHead, nspace));